HI sometime we need to detect the ajax complete event .In prototype you can do this by below code
Ajax.Responders.register({
onComplete: function() {
yourfunction(); // you can put your code here which you want to run on ajax complete event
}
});
Ajax.Responders.register({
onComplete: function() {
yourfunction(); // you can put your code here which you want to run on ajax complete event
}
});
No comments:
Post a Comment