Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


ARTICLES
Encapsulating Ajax XMLHTTPRequest Calls within JavaScript classes
03/22/2006, By Mike Chambers



Basically, the technique associates and encapsulates XMLHTTPRequest instances within individual JavaScript class instances.

For this post, we will create a simple widget that uses XHR and Ajax techniques to dynamically load some data from the server, and then render it in the page. Nothing super exciting, but it provides enough to get an idea of how everything works.

You can download all of the files from here.

   Read More...

 Rate this Ajax Articles
Error connecting to mysql