The first argument of save is the attributes to save on the model:
this.model.save( {att1 : "value"}, {success :handler1, error: handler2});
More Related Contents:
- Backbone js .listenTo vs .on
- Backbone, not “this.el” wrapping
- Webpack ProvidePlugin vs externals?
- Backbone.js event after view.render() is finished
- Backbone: Refresh the current route
- Backbone.js – change not triggering while the name change
- Proper way of doing view mixins in Backbone
- What does `void 0` mean? [duplicate]
- How to override Backbone.sync?
- Backbone.js Empty Array Attribute
- Backbone.js : repopulate or recreate the view?
- Error: getaddrinfo ENOTFOUND in nodejs for get call
- HTTP OPTIONS error in Phil Sturgeon’s Codeigniter Restserver and Backbone.js
- “Single-page” JS websites and SEO
- Backbone.js and pushState
- Backbone.js model.get() returning ‘undefined’ even though I can see the attributes in console.log
- How to handle initializing and rendering subviews in Backbone.js?
- correctly implement backbone comparators
- The collection nested inside firebase collection’s model doesn’t have add function
- Backbone.View “el” confusion
- Accessibility and all these JavaScript frameworks
- Backbone.js – data not being populated in collection even though fetch is successful
- backbone.js structuring nested views and models
- Backbone.js view inheritance
- Backbone.js : change not firing on model.change()
- fire an event from one view to another in backbone
- Computed properties in Backbone
- Backbone.js Event Binding
- Uncaught SyntaxError: Failed to execute ‘querySelector’ on ‘Document’
- rails and backbone working together