You can use the failure callback for non-200 responses.
I am not sure whether jQuery calls them for timeouts too.
jQuery 3.3.0+ just added specific callback for timeouts (
"Add an ontimeout handler to all requests (#3586
<https://github.com/jquery/jquery/issues/3586>, 262acc6f
You can also use jQuery's global Ajax event handlers.

On Thu, Jan 25, 2018 at 9:10 PM, Entropy <blmulholl...@gmail.com> wrote:

> I need to get an event on the browser side from one of my
> AjaxFormSubmitBehaviors in the event of a timeout or a non-200 response
> (and
> preferably the ability to distinguish between the two).  I'm in Wicket 6.24
> in this app.  Anyone know how I would plug into that event?
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to