The key value for the record currently displayed by the cursor.
Note: This property is read-only.
var result = cursor.key;
Returns an object of type anyany
The value depends on the source of the value. For more info, see the following Notes section.
The value of the key property depends on the source of the cursor.
If the cursor is opened using an index, the return value represents the value of the attribute associated with the index. If the cursor is opened using an obejct store, the return value represents the record’s primary key. If the cursor record is iterating to a new record or is outside the range of the cursor, the return value is "undefined".
Microsoft Developer Network: [Windows Internet Explorer API reference Article]