Backbone.js collection.findWhere()The Backbone.js collection findWhere method is same like where method, but it returns only the first model in the collection that matches the passed attributes. Syntax: Parameter explanation:attribute: It specifies the property of the defined model. Let's take an example to deploy the findWhere method. See this example: Test it NowOutput: Save the above code in findwhere.html file and open this file in a new browser. Next TopicBackbone.js URL |