怎么返回元素的class的属性
就用className
<body> <div class="abc"></div> <script> alert(document.getElementsByTagName("div")[0].className) </script> </body>