次の方法で共有


Sys.UI.Control removeCssClass Method

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

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

Parameters

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.

See Also

Reference

Sys.UI.Control Class

Other Resources

Language Reference