Wijmo UI for the Web
indexOf Method
Indicates the specified item.
The indexOf method returns the index of the specified list item.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  number
    // Parameters
    var item; // Type:  object
    
    returnsValue = $(".selector").wijlist("indexOf", item);
});
Javascript (Specification) 
function indexOf( 
   item : object
) : number;

Parameters

item
Indicates the specified item.

Return Value

the index of first matched specified item.
Browser Compatibility
7
5
5

See Also

Reference

wijlist type
wijlist jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.