I'd recommend setting up your success handler by using http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29 $.ajaxSetup() I'm not sure what effect $().ajaxSuccess will have without a selector in the $() to work with.
George amircx wrote: > > why when i get error (status 0) its print out : "done" ? > > http://pastebin.ca/404952 > > i want to make if status = 0 then show errors on div, if its 1 then > redirect to diffrent page, and if its 0 then alert somthing and stop > script from execute... > > idaes how to do it? > -- View this message in context: http://www.nabble.com/json-status-returns-ajax-tf3440225.html#a9601677 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
