Perhaps the most common Ajax task is to request updated HTML from the server and update a portion of the page with it. You can do this can periodically ? for example, to update stock quotes. Or you can update on demand ? for example, in response to a search request. The code in Listing 1 requests a page from the server, and then places that content into a <div> tag in the body of the page.
Come to learn more about: http://javajazzup.com/issue10/page60.shtml
Liked it! Share this Tutorial