How to send data from server which I can process client side? (needed for persistent select fields)


#1

I have 3 select fields. The first select contains options sent from the server, the others are disabled initially. As soon as an option is selected in the first field, the second is enabled and populated with options using ajax, and so on.

When all the 3 selects have valid options, user can hit search and get some data from the server. What I’m trying to achieve is to persist select options after the page has been reloaded. How can I pass these values back to the client so then I can “force” those options manually using javascript/query ?

Thank you