asp提交查询条件后打开新窗口
请教各位:   
 用ASP查询SQL语句,怎样使结果在新窗口打开?   
 1.asp上有一个TEXT,内容就是用于查询的条件.一个提交按钮..   
 2.asp上就是SQL语句及结果.   
 现在问题是,查询出来的内容太宽了,我想2.asp在新窗口打开..     
 可否详细点,我是菜鸟...谢谢各位.
------解决方案-------------------- <script language= "JavaScript " type= "text/javascript ">  
  <!-- 
   function frmSubmit() 
   { 
     if (document.form1.txt.value!= " ") 
     { 
 	  document.form1.action =  "2.asp "; 
       document.form1.target= "_blank "; 
       document.form1.submit(); 
     } 
 	else 
 	{ 
 	  alert( "Please input! "); 
       document.form1.focus(); 
 	  return; 
 	} 
   } 
 //-->  
  </script>      
  <form name= "form1 " method= "post ">    
  <input type= "text " name= "txt ">  
  <input type= "button " value= "Look " onclick= "frmSubmit(); ">    
  </form>