为什么从子窗口中传值到父窗口,刷新时会弹出一个窗口呢?
代码如下: 
  <script   type= "text/javascript ">  
 function   getdept() 
 	{ 
 		var   result; 
 		//result   =   window.showModalDialog( "getDeptWindow.aspx ", 'Dialog   Arguments   Value ', 'dialogHeight:400px;   dialogWidth:330px;   center:   yes;   help:   no;status:no '); 
 		result   =   window.showModalDialog( "getDeptWindow.aspx ", ' ', 'dialogHeight:400px;   dialogWidth:330px;   center:   yes;   help:   no;status:no ');  			 
 		if   (result   !=    'undefined '   &&   typeof(result)!= 'undefined ') 
 		{ 
 			var   rv   =   result.split( ": "); 
 			if   (rv.length   ==   2); 
 			{	 
 				document.Form1.t1.value=rv[0]; 
 				document.Form1.t2.value=rv[1];					 
 			}  			 
 		}				 
 	}          		 
 function   setPage() 
 { 
 	window.location.href   =   window.location.href; 
 	window.location.reload; 
 } 
  </script>    
 还加了    <BASE   target= "_self "> 。 
 这是那里出现问题啊。。   
------解决方案--------------------学习中..