Sys.UI.Control toggleCssClass Method
Toggles a CSS class of the HTML Document Object Model (DOM) element that the control is attached to.
var a = new Sys.UI.MyControl(domElementObj); a.toggleCssClass(className);
Show:
Toggles a CSS class of the HTML Document Object Model (DOM) element that the control is attached to.
var a = new Sys.UI.MyControl(domElementObj); a.toggleCssClass(className);