I\'d like to pass a message to the AJAX fail function. This is my AJAX:
var ajax_success = false; $.ajax({ url : url, type :