Home » Backbone.js model.fetch()

Backbone.js model.fetch()

by Online Tutorials Library

Backbone.js model.fetch()

The Backbone.js Fetch Model accepts data from the server by delegating sync() method in the model.

Syntax:

Parameter explanation:

options: It specifies parameters such as id, name etc. which are used for a model.

Let’s take an example.

See this example:

You may also like