sock
✭-
Re: call additional function when posting a comment
$(frm).triggerHandler('BeforeSubmit', [frm, btn]); rainbow.show(); // love the rainbow $.ajax({// Let listeners know that the comment was added. $(document).trigger('CommentAdded'); rainbow.hide(); /… (View Post)1