摘要: html css js 阅读全文
posted @ 2018-04-24 20:11 慕东 阅读(148) 评论(0) 推荐(0)
摘要: 1.attr attr是通过setAttribute 和 getAttrbute来设置的,使用的是DOM属性节点。 2.prop prop是通过document.getElementByid(el)[name] = value 来设置的,转化为js对象的属性 通常在获取或者设置checked,sel 阅读全文
posted @ 2018-04-24 09:43 慕东 阅读(129) 评论(1) 推荐(0)