I am using the jquery form plugin (http://jquery.malsup.com/form/) but I want to handle a special case when a user tries to post to the site without being logged in.
The backend returns a 403 (forbidden) response in this case - which is working ok - but the 'error' callback doesn't fire and if I use the 'complete' callback, the XMLHttpRequest object has a status of 0 and the textStatus is "success" in either case.
Is this a limitation of the plugin or is there some different way to handle errors?