I am trying to automatically submit a form when the "onunload" event fires. The problem that I'm having is that the page doesn't seem to submit when I fire the onunload event. Any ideas as to what may be happening? A snippet of my code is attached below. Thanks.