- Code: Select all
window.onload=intAll;
function intAll(){
//alert(document.getElementById.toString + " AX");
//alert(document.getElementById.length);
if(document.getElementById){
for (var i=0;i<=document.getElementById.length ;i++){
alert(document.getElementById.toString );
[color=#FF0000]//I want to get the names of element[/color]
}
} else {
alert("Sorry, your browser doesn't support this script");
}
}
but i can't by document.getElementById.toString command


