SP.UI.PopoutMenu.ensureCSSClassOnElement(element, cssClass) Method
Applies to: SharePoint Foundation 2010
Appends the specified cascading style sheets (CSS) class to the specified element.
SP.UI.PopoutMenu.ensureCSSClassOnElement(element, cssClass);
Parameters
element
Type: Sys.UI.DomElement
The specified element.
cssClass
Type: string
The specified CSS class.
Remarks
This method does nothing if element is null or undefined, or the CSS class has already been appended to the specified element.