.index()

Previous Next

Gets the the index value of the first row in the Rows object. If no record is available, -1 is returned.

Returns an index number. The index is 0-based: the first item has index 0, not 1.

Syntax

.index()

 

Example

var ri = $.udb('EMP').rows('current').index();