Am using the following javascript to set class name.
Code: Select all
document.getElementById("dropicon").setAttribute("class", "downimg");But its not working in IE6.
Is there ant equivalent script which runs in IE6
Moderator: General Moderators
Code: Select all
document.getElementById("dropicon").setAttribute("class", "downimg");Code: Select all
document.getElementById("dropicon").className = "downimg";