Try:
error: function(xhr, status, error) {
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
More Related Contents:
- How to inject javascript code that uses php variables into php page
- Passing JavaScript array to PHP through jQuery $.ajax
- Send array with Ajax to PHP script
- Creating jQuery AJAX requests to a PHP function
- Change DIV content using ajax, php and jQuery
- jQuery AJAX form using mail() PHP script sends email, but POST data from HTML form is undefined
- How to load PHP file into DIV by jQuery?
- Passing Javascript Variable to PHP using Ajax
- Jquery – Uncaught TypeError: Cannot use ‘in’ operator to search for ‘324’ in
- Pass data from jQuery to PHP for an ajax post
- How to pass an array using PHP & Ajax to Javascript?
- Jquery: Running AJAX locally without a webserver
- How can I pass variables from JavaScript to PHP?
- How to rotate image and save the image
- Cross Domain Ajax Request with JQuery/PHP
- show progressbar while loading pages using jquery ajax in single page website
- How to implement a chat room using Jquery/PHP?
- the facebooks 'xyz is typing' feature? [closed]
- AJAX request callback using jQuery
- using jquery $.ajax to call a PHP function
- jQuery – Call ajax every 10 seconds
- Scaling a chat app – short polling vs. long polling (AJAX, PHP)
- Redirect with PHP after ajax call
- Sending multiple data parameters with jQuery AJAX
- Refresh a table with jQuery/Ajax every 5 seconds
- How to make a Cascading Drop Down List in PHP using jQuery
- AJAX only access
- PHP + Ajax Login
- json_encode not working with a html string as value
- Prevent back button after logout