What changed in jQuery 1.9 to cause a $.ajax call to fail with syntax error
An HTTP 204 response is not an empty string: it means there is no data. This is a valid response for delete and update operations. This looks like a bug introduced in JQuery 1.9. The reason removing the dataType property fixes this is because when it’s set to “json” JQuery attempts to parse the content … Read more