$("#prevPage").live("click",function(e) {
.................
});
For example, when the user have already clicked on the prevPage
, the statement inside it is running, if the user click on it instantly , it will trigger again. However, I would like the click event trigger only after all the statement inside it have finish execution, How to achieve that?