摘要:
1 <!DOCTYPE html> 2 <html> 3 <body> 4 5 <p>局部变量计数。</p> 6 7 <button type="button" onclick="myFunction()">计数!</button> 8 9 <p id="demo">0</p> 10 11 <scr 阅读全文
posted @ 2016-03-02 16:47
马在路上
阅读(202)
评论(0)
推荐(0)
摘要:
在下边的小程序中比较特殊的是使用isNaN()函数判断一个参数是不是数字, 1 <!DOCTYPE html> 2 <!DOCTYPE html> 3 <html> 4 <head> 5 <title></title> 6 7 <script type="text/javascript"> 8 fu 阅读全文
posted @ 2016-03-02 14:20
马在路上
阅读(828)
评论(0)
推荐(0)

浙公网安备 33010602011771号