$('#first').load(url("data/name.html"), function() { ok( /^ERROR/.test($('#first').text()), 'Check if content was injected into the DOM' ); 
$.ajaxSetup({ dataType: "json" }); $("#first").ajaxComplete(function (e, xml, s) { equals( s.dataType, "html", "Verify the load() dataType was html" ); $("#first").unbind("ajaxComplete"); $.ajaxSetup({ dataType: "" }); 
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();	});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/clean/test/unit/ajax.js