Use the following bit of code to print off the class name of the div element in a message box. alert(document.getElementById('adiv').className);. To set the ...
確定! 回上一頁