Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
indexOf Method
Find the index of the specified item.
Syntax
ASP.NET Ajax Javascript (Specification) | |
---|
function indexOf(
: {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.