$.ajax({
url :"funRouter!funvalidate.action",
async :false,
type :"post",
dataType :"json",
data : { parametersStr:queryxml,lotime:new Date() },
error : function(C) {
doalert("访问失败");
},
如果queryxml里有特殊字符比如&就会报错,请问这个问题怎么解决谢谢。
这是不行滴,queryxml是个变量,而new date()是个对象,不能当字符串使
追答这样啊,这还真是个问题