On Dec 14, 1:06 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > $("#target").ajaxSuccess(function(request, settings) { > if (check1 == "something") { > $(this).append(check1); > } > > });
I believe the first parameter for ajaxSuccess functions is the event. Then comes the request and settings. So iirc that would be: $("#target").ajaxSuccess(function(e, request, settings) { if (request.responseText == "success") { alert("Got a successful response"); } } Also untested. :) David