KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have created the spring web application with jquery. For every ajax call im using $.get or $.post (NOT $.ajax). But I didn't handle any ajax timeouts or ajax error. Now my application is deployed in the server, I can't make any major changes. Pls help me how to handle the AJAX Timeout for the entire web application and i should alert("Ajax Timeout") globally. additionally whatever the ajax error, i should alert the error message to the user. I heard about $.ajaxSetup and $.ajaxError But How to use them in my web application, Do i need to add it in document.ready ??
Tags (comma-separated)
Save Edits
Cancel