jQuery, Forms, Browser Refreshes

Posted by Eric Cope on Stack Overflow See other posts from Stack Overflow or by Eric Cope
Published on 2010-03-11T05:36:54Z Indexed on 2010/03/11 5:38 UTC
Read the original article Hit count: 200

Filed under:
|
|

I have a large form with some fields values dependent on previous elements. I use jquery's .trigger event to trigger the dependent field's update functions. When I refresh the page (click reload or click back), the previous values selected are still there, but the dependent fields are not reflecting the other element's values. How can I trigger the update functions upon refresh? I saw a way to prevent the browser from using the form's cached values. I'd rather use the cached values and update the elements dependent on the elements with cached values.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about browser-refresh