bHasClass (client-side)
Use this routine to determine whether a particular customizable style sheet (CSS) class is associated with a specific HTML element.
Definition
function bHasClass(elItem,
sClass)
Parameters
- elItem
An HTML element to be checked for the specified CSS class. - sClass
A string containing the name of the CSS class for which to check.
Return Value
A Boolean value indicating whether the specified CSS class is associated with the specified HTML element. A return value of True indicates that the CSS class was found in the className attribute of the element, and a return value of False indicates it was not found.
Remarks
This routine is available in the include file ActionPageUtil.asp.
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.