function check(){
var val_membid=$("#membid").val();
$.ajax({
cache : "false",
type : "POST",
url : "orderAction!check.action",
data : {membid : val_membid},
dataType : "html",
success : function(data){
if(data === "success"||data===null||data==="") {
window.location="message.jsp";
} else if(data!==null&&data!==""){
alertbox(data.substring(0,data.length-7));
}else{
alertbox("服务器忙...");
}
},
error : function(){
alertbox("服务器忙...");
}
});
}
var val_membid=$("#membid").val();
$.ajax({
cache : "false",
type : "POST",
url : "orderAction!check.action",
data : {membid : val_membid},
dataType : "html",
success : function(data){
if(data === "success"||data===null||data==="") {
window.location="message.jsp";
} else if(data!==null&&data!==""){
alertbox(data.substring(0,data.length-7));
}else{
alertbox("服务器忙...");
}
},
error : function(){
alertbox("服务器忙...");
}
});
}