Menu
hi, i want to call a function that changes the classname of most of the page by using getElement by id……
basically what i’ve got now is a script:
[CODE]
…
function closeAll(id){
if (document.getElementById(id).className ==’level3-click’){
document.getElementById(id).className =’level3′;
}
}
…
and i want to call the function for all the id’s without having to call the function multiple times how would i do this???
cheers Jam