1
2
3
4
5
6
7
<div name="div1"></div>
document.getElementsByName('div1');
document.getElementsByTagName('div');
顾名思bai义,根据duname属性,根据标zhi签名dao字
1
2
3
4
5
6
7
<div name="div1"></div>
document.getElementsByName('div1');
document.getElementsByTagName('div');
顾名思bai义,根据duname属性,根据标zhi签名dao字