Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 8 Nov 2005 22:43:03 -0800,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Request to the server is lost when the html form is submitted...   
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();
	}
   }
date: Tue, 8 Nov 2005 22:43:03 -0800   author:   tech

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us