要编码
function go()
{
var val1,val2,val3;
val1=URLencode(document.getElementById("Text1").value); //商品信息关键字
val2=URLencode(document.getElementById("Text1").value); //商品信息关键字
val3=URLencode(document.getElementById("Xsms").value); //销售模式
document.all('orderlist').src = "ProList.aspx?id=" + val1 + "&xsms=" + val2 + "&khlb=" + val3;
}
/*
*编码
*/
function URLencode(sStr)
{
return escape(sStr);
}
function go()
{
var val1,val2,val3;
val1=URLencode(document.getElementById("Text1").value); //商品信息关键字
val2=URLencode(document.getElementById("Text1").value); //商品信息关键字
val3=URLencode(document.getElementById("Xsms").value); //销售模式
document.all('orderlist').src = "ProList.aspx?id=" + val1 + "&xsms=" + val2 + "&khlb=" + val3;
}
/*
*编码
*/
function URLencode(sStr)
{
return escape(sStr);
}