Hi, Whenever i submit the html form, request from the client is not send to the server. This happens rarely once in 30-40 times. On most of the cases the form is submitted properly. I am using Windows 2000 professional and Internet Explorer 6.0 If anyone have faced a similar problem kindly help on this. The page which i developed contains a cancel button. In the onClick event exit() function is invoked. The code snippet which i used is as follows var flag = -1; ... ... function exit(){ if( confirm( "Message ?") ){ closeWin(); window.close(); } else{ return false; } } function closeWin() { document.FORM_NAME.actionID.value = "9"; submit(); } function submit() { if (flag < 0) { flag = 0; document.FORM_NAME.submit(); } }