When should AJAX NOT be used?

When should AJAX NOT be used?

AJAX should not be used for critical data and transactions to avoid security breaches and to avoid situations where the page doesn’t work as expected because javascript is not supported or is blocked.

If the page is expected to be shown in a search engine like Google. Since Web crawlers don’t execute javascript code.

If the browser does not support JavaScript.

If security is a big concern in the application; Since Ajax allows end user to see half of what’s being sent to the server.
How do you know that an AJAX request has completed?
readyState allows determining the request status. If the value is 4, it means that the request has been completed and response is then sent to the browser....
How do I handle the back and forward buttons?
In order to store changes in the browsers web history (enabling back and forward buttons) Iframes can be used....
Spring and Ajax Interview Questions
Spring and Ajax - What is Spring?, Uses of Spring framework, Ajax and Spring..
Post your comment