JQuery Ajax on Fail

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