How do I get a model from a Backbone.js collection by its id?

Take a look at the get method, it may be of some help 🙂

http://backbonejs.org/#Collection-get

get collection.get(id)
Get a model from a collection, specified by an id, a cid, or by passing in a model.

Leave a Comment