rem: $('#first').load(url("data/name.html"), function() { ok( /^ERROR/.test($('#first').text()), 'Check if content was injected into the DOM' ); 
add: $.ajaxSetup({ dataType: "json" }); $("#first").ajaxComplete(function (e, xml, s) { equals( s.dataType, "html", "Verify the load() dataType was html" ); $("#first").unbind("ajaxComplete"); $.ajaxSetup({ dataType: "" }); 
context: test("load(String, Function) - simple: inject text into DOM", function() {	expect(2);	stop();	$('#first').load(url("data/name.html"), function() {		ok( /^ERROR/.test($('#first').text()), 'Check if content was injected into the DOM' );		start();	});});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/clean/test/unit/ajax.js