hasCss

checks if item has specific css class

boolean hasCss(id id,string css);

Parameters

ididitem's id
cssstringname of css class that needs to be checked

Returns

booleanreturns true if such css class was set

Example

list.hasCss(12, "xw_second");

Back to top