![]() |
#2
xmlz2012-08-17 18:12
|
前台代码 JS
if (flag) {
$(this).attr({"disabled":"disabled"}).attr({"value":"提交中,请稍等"});
$.ajax({
type: "POST",
url: "ReceiveParam.asp?r="+Math.random(),
contentType: "application/x-www-form-urlencoded; charset=utf-8",
data: sparam,
success: function(result) {
if (result == 1) {
window.location = "ReceiveParam.asp";
}
}
});
}
前台页面的Form中 有个 文本框的 id为 username 后台如何获取这个 username的 值