1,234
edits
Changes
no edit summary
## When the response is received from the server the callback function is called automatically.
## The callback function modifies a part of the page dynamically using DOM access methods.
== Ajax disadvantages ==
One thing you cannot do with a page partially requested through Ajax is bookmark it. Some website designers go overboard with Ajax and make very link/button action an Ajax request. The result is that only the start page can be bookmarked. This is similar to all-flash webpages.
Also you cannot open an Ajax link in a new window or tab. This can seriously piss of your power users who do a lot on your website and need to manage their multitasking.
Also back and forward buttons don't work with Ajax requests. Again this can confuse and annoy your users.