[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Jack Mack
;, > success: function(msg){ > alert( "Success" ); > } > error: function(emsg){ > |alert(xhr.statusText); > }| }); > | > > > | > > > > Jack Mack wrote: > >> But how would I handle the error messages ? I have custom errors for each >>

[jQuery] Re: Need help to understand jQuery

2009-02-12 Thread Jack Mack
But how would I handle the error messages ? I have custom errors for each of the server errors. Then I have a functionality error handler if the server code prints out an exception in XML. On Thu, Feb 12, 2009 at 2:25 PM, Liam Potter wrote: > > $.ajax({ > type: "GET", > url: "some.php", > data