rem: $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); 
add: $.getJSON("data/json.php", function(json) { ok( json.data.lang == 'en', 'Check JSON: lang' ); ok( json.data.length == 25, 'Check JSON: length' ); 
context: 	$.post("data/name.php", {xml: "5-2"}, function(xml){	  $('math', xml).each(function() {		    ok( $('calculation', this).text() == '5-2', 'Check for XML' );		    ok( $('result', this).text() == '3', 'Check for XML' );		 });	  start();	});
meta: 6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js