If I create a custom javascript Object using a constructor, Is it possible to persist the object between HTTP Requests? – like storing it in the DOM and use it conditionally ?
Will the DOM Objects persist (all client side Objects) between the HTTP Requests ..? or will it get lost after every form submit..?
Thanks
It will get lost on every request.
If it is very small, you might be able to put it in a cookie and re-read it (and evel it) on every reload.
With HTML5 you should be able to persist it using web/local storage.