标签:self color 隐藏 不能 解决办法 code 传递 数组 sub
/*获取隐藏域数据,并将数据转为数组*/ var Ids = x.val(); var eachParamer = Ids.substring(0,Ids.length-1).split(","); $.ajax({ url: m+"/selfprogram/selfProgram/showParam?paramIds="+Ids,", type: "post", dataType:"json", data:{"paramIds":Ids}, success: function (data) { var obj = eval(data);
.......
参数传递,在chrome下好着,但在ie8下报错,不能传中文
解决办法如下:
function queryByParam(x,y,z,m){ /*获取隐藏域数据,并将数据转为数组*/ var Ids = x.val(); var eachParamer = Ids.substring(0,Ids.length-1).split(","); $.ajax({ url: m+"/selfprogram/selfProgram/showParam", type: "post", dataType:"json", data:{"paramIds":Ids}, success: function (data) { var obj = eval(data); var str = "";
....
标签:self color 隐藏 不能 解决办法 code 传递 数组 sub
原文地址:http://www.cnblogs.com/person008/p/7300828.html