1、大概的代码:
var xx = document.getElementById("xx"); for (var z in xx) console.log(z+" ==> "+xx[z]);
2、
3、
4、
5、