T
tomlong
In my last job we had a crummy function that did regex to add/remove
css classes to an element.
Does anyone have a better way to do this? Techniques or code would be
great. I'm almost surprised this isn't in prototype.js after finding
Element.cleanWhiteSpace(el) today.
Thanks!
Tom Longson (nym)
http://igargoyle.com/
css classes to an element.
Does anyone have a better way to do this? Techniques or code would be
great. I'm almost surprised this isn't in prototype.js after finding
Element.cleanWhiteSpace(el) today.
Thanks!
Tom Longson (nym)
http://igargoyle.com/