function isMember() {
$.ajax({
type:"POST",
url: "<%= Url.Action("Action", "Controller") %>",
data: "div=" + 1 + "&account=" + $("#Email").val(),
dataType: "json",
async:false,
success: function(result){
var status = result.Status;
if(status == "Registered")
{
alert("您已是會員,請先登入");
location.href = ("<%=Url.Action("Login", "Member", new { id = "...?ReturnUrl=../../"}) %>");
}
}
});
}
沒有留言:
張貼留言