使用JavaScript操作DOM元素时往往涉及到两个概念:attribute 和property。 document.getElementById('test').getAttribute('id') 、 $('#test').attr('id ...
確定! 回上一頁