Can someone tell me how to remove an attribute from an element that is dynamically assigned using Javascript? (such as a CSS class)
| SitePoint Sponsor |





Can someone tell me how to remove an attribute from an element that is dynamically assigned using Javascript? (such as a CSS class)
John Saunders


Code:obj.removeAttribute(attrName);
We miss you, Dan Schulz.
Learn CSS. | X/HTML Validator | CSS validator
Dynamic Site Solutions
Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.
Bookmarks