javascript 之---提交到一个新打开的页面

   window.open("","_formwin","directories=no,toolbar=no,menubar=no,scrollbars=yes,width=600,height=400,left="+(screen.availWidth-800)/2+",top="+(screen.availHeight-600)/2);  
	   document.indexform.target="_formwin";
	   document.indexform.submit(); 
	   document.indexform.target="_self";

 

你可能感兴趣的:(JavaScript)