In firefox,the function called using onbeforeunload does not submit the form using submit() function.What could be the solutionto this?I have to submit the form with onbeforeunload.