rem: url: url("data/name.php"), data: {'req': true}, beforeSend: function(xml) { check = true }, success: function(data) { ok( check, "check beforeSend was executed" ); start(); } 
add: type: "POST", url: url("data/name.php"), data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } 
context: test("$.ajax - beforeSend", function() {	expect(1);	stop();	var check = false;	$.ajax({		url: url("data/name.php"), 		data: {'req': true},		beforeSend: function(xml) {			check = true		},		success: function(data) {			ok( check, "check beforeSend was executed" );			start();		}	});});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/2ef4093cf7f52383dd43bd361864edcda27e5c3c/ajaxTest.js/clean/src/ajax/ajaxTest.js