rem: $('#first').load("data/name.php", function() { ok( /^ERROR/.test($('#first').text()), 'Check if content was injected into the DOM' ); start(); }); 
add: var count = 0; var success = function() { if(count++ == 6) start(); } var url = "data/name.php"; ok( $.get(url, success), "get" ); ok( $.getIfModified(url, success), "getIfModified" ); ok( $.post(url, success), "post" ); ok( $.getScript("data/test.js", success), "script" ); ok( $.getJSON("data/json.php", success), "json" ); ok( $.ajax({url: url, success: success}), "generic" ); 
context: test("load(String, Object, Function) - simple: inject text into DOM", function() {	expect(2);	stop();	$('#first').load("data/name.php", function() {		ok( /^ERROR/.test($('#first').text()), 'Check if content was injected into the DOM' );		start();	});});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3217/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js