In this installment, you'll learn how to use images and cookies to enable client-server communication even on older browsers that don't support the DOM.
In this workshop, you'll be building a tabbed content browser that's Ajax powered. Whenever a user clicks a tab the script will communicate with the server and send back the appropriate data for that tab.
AJAX is an acronym that stands for Asynchronous JavaScript and XML. AJAX gains its popularity by allowing data on a page to be dynamically updated without having to make the browser reload the page.
The goal of this Ajax example is to allow a user who is registering for your site to see if the username they want to use is taken already or not, without having to submit a form and reload the page.
You could spend a lot of time figuring out all the pieces of JavaScript on the client side and Perl on the server side in order to work out how to use Ajax in your code. Thankfully, there's already a module on CPAN to take the pain out it: CGI::Ajax.
This is a two-part tutorial on starting with Ajax. The first part of the article is using Ajax using the DOM innerHTML and the second part using nodes from XML.
This is an example of a good use of Ajax, and at the same time keeps it simple. It is a zip code verifier. As soon as the person enters the zip code it makes a request to the server to see if the zip code is in the database, and returns the city and state.
The XMLHttpRequest object is a handy JavaScript object that offers a convenient way for Web pages to get information from servers without refreshing themselves. The purpose of this article is to demonstrate through a series of baby steps just how easy it is to use the XMLHttpRequest object