yes, clearly the unload event is not working. I tried creating a form with the unload command you have on your script and then I navigate to a different page, which doesn't get the values at all. Maybe you should ask this question in the JavaScript zone? I am not very good as JavaScript. Maybe you are calling submit() incorrectly?