Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.UI.Control removeCssClass Method

Removes a CSS class from the HTML Document Object Model (DOM) element that the control is attached to.

Syntax

var a = new Sys.UI.MyControl(domElementObj);
a.removeCssClass(className);

Term

Definition

className

A string that contains the name of the CSS class to remove.

Return Value

None.

Remarks

Use the removeCssClass method to remove a CSS class from a control. If the CSS class has already been removed from the control, removeCssClass makes no changes to the control.