摘要:
+ >= 1 ? <= 1 * >= 0 . 除了\n以外单字符 {n} {n,} {n,m} ^$匹配字符的开始与结束 Reg方法: match test exec 阅读全文
摘要:
DOM方法: getElementById(id) - 获取带有指定 id 的节点(元素) appendChild(node) - 插入新的子节点(元素) removeChild(node) - 删除子节点(元素) replaceChild() - 替换子节点 insertBefore() crea 阅读全文
摘要:
1. 语法 绑定属性:[attr.xxx] [class.xxx] [style.xxx] property是DOM中的属性,是JavaScript里的对象; attribute是HTML标签上的特性,它的值只能够是字符串 2. 规范 类 -大驼峰命名法 阅读全文