Try this: $().ajaxSuccess(function(event,request,settings){ console.log( request.responseText ); });
On Aug 9, 1:19 am, cohq82 <quang...@gmail.com> wrote: > I am using $.ajax in jQuery and I have some thing running in $ > ().ajaxSuccess(function(event, request, settings) {}); > > However I don't know how to get the html as in response of the success > callback below: > > success: function(html) {}); > > How to pass html over to ajaxSuccess? > > I know I can insert a line to assign html var to another global > variable but is there a different way? > Thanks.