backbone.js - Fetch Backbone.Collection by JSON object -
in jquery
can supply json when perform get
operation. don't see options in backbone supply object backbone.collection.create or update
collection.fetch({ data: { ip_id: this.column }, success: this.constructing });
this can think of right now
since this.column
json object, need stringify it. try this
collection.fetch({ data: { ip_id: json.stringify(this.column) }, success: this.constructing });
Comments
Post a Comment