I am creating an HTML / jQuery site where almost all of the content comes from deleted JSON data. I'm having trouble with a good way to store and access data in the future (in terms of reach).
I have currently written a jQuery plugin that receives JSONP data when a site loads. But I have other jQuery functions and plugins that need to access this data.
Where should this data be stored so other functions and plugins can access it?
Should it be a global variable?
If that matters, this site will only work on the iPad, and the server server will work on Rails.
source share