Hello,

I am extensively using jquery.ajax calls to display data on my web
page (which build using partial rendering). In certain navigation flow
a user move from one page to another. Before he moves I need to
capture information filled in by user in first page(form) and save it
in java script variable. Since my complete page is built using partial
rendering the first form gets unloaded and new form gets loaded making
ajax call.

In order to capture the data user has filled in first form I have
tried to use $(document).unload, $.unload(), $(#form_id).unload()
(form_id is the id of the form in the page) to update the java script
variable with user's input for form1. But neither scenario my call
back function gets fired.

I am not sure if I unload will be corrent event to add callback
function to update user input.

Any pointers and help on how to make my callback function fire will be
appreciated.

Thanks n Regards,
Nitin

Reply via email to