Hi,
In my projects, my client wants a functionality to save the data in a table before the user is move to another page. So I thought calling
window.onbeforeunload function will help me.
However I want this function to wait, until user selects his options. I tried is there any method is available to sleep the current function until the user triggers his options.
I tried with a while loop, but it really gone mad by hanging the browsers.
I feel it a real challenge to implement this. Any thoughts will be appreciated.
[ March 31, 2008: Message edited by: Mohammed Yousuff M N ]