资讯

当我们通过 js 处理 DOM 对象时非常容易将 attribute(特性) 和 property(属性)混淆 。 document.getElementById('test').getAttribute('id ...