jQuery: now with valid ajaxComplete test

Also with corrected jquerymobile attr test
This commit is contained in:
johnnyreilly
2013-12-26 21:15:05 +00:00
parent 427d2e0576
commit 3b581e0152
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ function test_ajaxComplete() {
});
$('.log').ajaxComplete(function (e, xhr, settings) {
if (settings.url == 'ajax/test.html') {
$(this).text('Triggered ajaxComplete handler. The result is ' + xhr.responseHTML);
$(this).text('Triggered ajaxComplete handler. The result is ' + xhr.responseText);
}
});
$("#msg").ajaxComplete(function (event, request, settings) {