Home >Backend Development >PHP Tutorial >How can I wait 10 seconds after clicking the first button in js or jqury before the other button can be operated?

How can I wait 10 seconds after clicking the first button in js or jqury before the other button can be operated?

WBOY
WBOYOriginal
2016-10-23 00:00:071111browse

How about js or jqury? After clicking the first button, wait 10 seconds before the other button can be operated?
I made a network print control, because it has to wait for the order to be loaded before printing. If it cannot be loaded, it will only print out what it has Loaded orders. So I want to make a button query and wait 10 seconds before another print button can be clicked to print.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn