下面的代码执行后点击按钮会延迟3秒钟弹出一个警告框,主要演示了setTimeout的使用方法
Click the button to wait 3 seconds, then alert "Hello". Try it
Click the button to wait 3 seconds, then alert "Hello".
希望本文所述对大家的javascript程序设计有所帮助。
Copyright © 2019- gdbct.com 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务