jQuery.Model.static.id  attribute     

The name of the id field. Defaults to 'id'. Change this if it is something different.

For example, it's common in .NET to use Id. Your model might look like:

$.Model("Friends",{
  id: "Id"
},{});
© Jupiter IT - JavaScriptMVC Training and Support