jquery ajax on Fail

fail: function(xhr, textStatus, errorThrown){
	alert('request failed');
}
Andrew Lautenbach