Javatpoint Logo
Javatpoint Logo

Backbone.js collection.where()

The Backbone.js collection where method retrieves and display the model by using the matched attribute in the collection.

Syntax:


Parameter explanation:

attributes: It specifies the property of a defined model.

Let's take an example to deploy the where method.

See this example:

Test it Now

Output:

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

BackboneJS Where Collection




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