How to interrupt ajax submit?

How to interrupt ajax submit?

  

I have a Search button (Method: Ajax Submit, Validation: Client & Server) on my screen and I want the user to have the ability to interrupt the query if it takes too long by pressing the Cancel button.  

Hi Elini,


It don't see a way to make that possible.
Couldn't you try to improve the user experience in a way where he isn't blocked by a slow query, or where where are background jobs (ex: timers) that prepare the information in a way that it can then be quicky presented to the user?

Regards,
João Rosado