我在一个新建页面这样定义的
function save(){
var form = new mini.Form("#sendMsgForm");
var o = form.getData();
form.validate();
if (form.isValid() == false) return;
var json = mini.encode([o]);
$.ajax({
url: "../msg/msg.do?method=sendMsg",
type: 'post',
data: { data: json},
success: function (text) {
window.location.href="<%=basePath%>msg/alreadySend.jsp";
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
window.location.href="<%=basePath%>msg/alreadySend.jsp";
}
});
}
我想在success时取得通过request设置的值怎么取得啊 作者: lost 时间: 2013-8-16 15:37:26