一些总结
摘要:1.JS中不强制要求加分号,其会在编译时自动补上分号,加分号规则如下 a.当有换行符,且下一行无法和前面进行语法匹配时. b.当有}时. c.当程序代码结束时. 2.getElementById方法只能用于document对象,而且实一种静态方法 getElementsByTagName不仅限于do
阅读全文
posted @ 2017-03-04 15:19
posted @ 2017-03-04 15:19
posted @ 2017-02-22 20:28
posted @ 2017-02-20 20:10
posted @ 2017-02-20 19:48
posted @ 2017-02-20 19:41
posted @ 2017-02-20 19:30
posted @ 2017-02-20 19:11