@touseef4pk
But i still don't know how can I store my application level data or models using statemanager and secondly are my states object which I addd into statemanager, they only related to views only or can be used with models ? I have problem to understand where should I used it in my backbone applicaiton.
Since I got no idea what you done so far. I assume you are trying to save data with backbone.js file?
This is the code that you need to do that:
http://backbonejs.org/#Model-save
To View the code then you need this:
http://backbonejs.org/#View-constructor
Remeber to link js file so it can work.
LastMitch
Industrious Poster
4,374 posts since Mar 2012
Reputation Points: 149
Solved Threads: 350
Skill Endorsements: 47