前台
<SCRIPT   LANGUAGE="JavaScript">   
  <!--   
  //以XML求取数据   
  function   XmlPostP(obj)   
  {   
    var   svalue   =   obj.value;   
    var   webFileUrl   =   "?P_id="   +   svalue;  
    //alert(svalue); 
    var   result   =   "";   
    var   xmlHttp   =   new   ActiveXObject("MSXML2.XMLHTTP");   
    xmlHttp.open("POST",webFileUrl,false);   
    xmlHttp.send("");   
    result   =   xmlHttp.responseText;   
       
    if(result   !=   "")   
    {       
      document.all("TextBox1").value="";  
      document.all("TextBox2").value="";  
      
      var   piArray   =   result.split("^");   
      for(var   i=0;i<piArray.length;i++)   
      {   
        document.all("TextBox1").value=piArray[0].toString()  
        document.all("TextBox2").value=piArray[1].toString() 
      }  
    }   
    else   
    {  
        document.all("TextBox1").value="";  
      document.all("TextBox2").value="";  
      //alert(result);   
    }   
  }   
  //-->   
  </SCRIPT>后台  this.ddlCP.Attributes.Add("onchange", "XmlPostP(this);");
在后台XmlPostP(this) 里面如何将 TextBox1,TextBox2改成用参数 代替?
如:XmlPostP(this,TextBox1,TextBox2)那前台js应该如何写?