页面前端

 function search()
   {
                   
       var k=document.getElementById("txtQQ").value;
       if(typeof(k)=="undefined" || k==null || k.length<1) //string 类型 内容为空
  {
    alert("请输入对方的QQ!");
    document.getElementById("txtQQ").focus();
    return;
  }
       //window.location.href="http://wpa.qq.com/msgrd?v=3&amp;uin="+k+"&amp;site=qq&amp;menu=yes"; 
       var strUrl="http://wpa.qq.com/msgrd?v=3&amp;uin="+k+"&amp;site=qq&amp;menu=yes"; 
       window.open(strUrl,"","menubar=yes,location=no,scrollbars=yes,resizable=yes,width=800,height=600");
 } 

 <input name="Button1" type="button" value="通知对方" />

  2. 数据视图中只能传递一个参数

  <script type="text/javascript">
 function openWin(tag,obj)
        {
var k2=document.getElementById("lgnname1").value;
          
 obj.target="_blank";
       obj.href = "http://172.16.1.41:85/spjc/yjfk.aspx?k="+tag+"&k2="+k2;
          obj.click();
        }
   
 function sch()
    {
    var k2=document.getElementById("lgnname1").value;
    var strUrl="http://172.16.1.41:85/spjc/yjfk.aspx?k={$thisNode/@inteid}&k2="+k2;
    }
    </script>
    
  <a  href="javascript:void(0)" onclick="openWin({$thisNode/@inteid},this)">反


馈意见</a>

<div onkeydown="javascript:if(event.keyCode==13) search()">