paramasivan Posted December 7, 2006 Share Posted December 7, 2006 Changing class of anchor tag using getElementById('id') is possible?if yes please say how? Link to comment Share on other sites More sharing options...
jesh Posted December 7, 2006 Share Posted December 7, 2006 http://www.w3schools.com/htmldom/prop_classname.asp Link to comment Share on other sites More sharing options...
aspnetguy Posted December 7, 2006 Share Posted December 7, 2006 document.getElementById('yourElemenetId').className = "new class name"; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now