Version

indexOf Method

Find the index of the specified item.
Syntax
ASP.NET Ajax Javascript (Specification) 
function indexOf( 
   item : {Any}
) : {Any};
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfGridSelectionCollection.indexOf({Any});

Parameters

item
The item whose index should be returned

Return Value

If item isn't in the collection -1 is returned, other wise the index of the item is returned.
See Also