Javatpoint Logo
Javatpoint Logo

Backbone.js model.id()

The Backbone.js id model is used to uniquely identify the model identity that might be manually set when model is created or populated when model is saved on the server.

Syntax:

Let's take an example.

See this example:

Test it Now

Output:

Save the above code in id.html file and open this file in a new browser.

BackboneJS ID Model




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA