rem: dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( testFoo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); 
add: type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); 
context: test("$.ajax - dataType html", function() {	expect(5);	stop();	testFoo = undefined;	var verifyEvaluation = function() {	  ok( foobar == "bar", 'Check if script src was evaluated for datatype html' );	  start();	};	$.ajax({	  dataType: "html",	  url: "data/test.html",	  success: function(data) {	    ok( data.match(/^html text/), 'Check content for datatype html' );	    ok( testFoo == "foo", 'Check if script was evaluated for datatype html' );	    setTimeout(verifyEvaluation, 600);	  }	});});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3217/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js