I am firing an ajax call to one of my rails server using basic javascript call.
I want to know if there is a way to monitor the ongoing ajax call so that if it takes a lot of time to get the response , I can show an alert saying "Request taking lot of time. Please wait"
Please help.
Thanks