fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset=" utf-8"> <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script> </head> <body> <button id="first">点击测试弹出</button> <button id="second">解除延迟</button> <script> $.holdReady(true) $(document).ready(function(){ $("#first").click(function(){ alert("解除延迟后被弹出"); }) }) $("#second").click(function(){ $.holdReady(false); }) </script> </body> </html>
运行结果