jQuery.Model.prototype.identity  function     

Returns a unique identifier for the model instance. For example:

new Todo({id: 5}).identity() //-> 'todo_5'
Typically this is used in an element's shortName property so you can find all elements for a model with elements.

model.identity() -> String
{String}
© Jupiter IT - JavaScriptMVC Training and Support