Created
January 31, 2011 15:08
-
-
Save crazylion/804149 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".authBtn").live("click",function(){ | |
var _this =this; | |
$.getJSON('auth_process.php?type=json',{Id:$(this).attr("id")}, | |
function(ret) { | |
//成功 | |
if(ret=="pass"){ | |
$(_this).remove(); | |
// console.log("啟用!!!"); | |
}else if(ret=="fail"){ | |
window.alert("驗證手續失敗請再試一次或刷新頁面!!!"); | |
}else if(ret==null){//刪除失敗 | |
window.alert("啟用沒救了吧!!!"); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test