DomAXh: Ajax for Dommies

Written by on May 3rd, 2007 in Ajax News.

“Ajax for Dommies”. That is nice and corny. DomAXh is a simple Ajax library that allows you to kick off requests to xhtml data and have it placed into your document.

The homepage itself has arrows that flip through content:

JAVASCRIPT:

  1.  
  2. function substituteContent(obj, url){
  3.  obj.showResponseContent= function(originalRequest){
  4.  // This is the actual call to the dom translator..
  5.  domaxh(originalRequest,this); // Here is where the magic happens
  6. }
  7. // Ajax request using prototype.js
  8. obj.myAjax = new Ajax.Request(
  9.   url, {
  10.     method: ‘get’, onComplete: obj.showResponseContent.bind(obj)
  11.   });
  12. }
  13.  

DomAXh

Source: Ajaxian
Original Article: http://ajaxian.com/archives/domaxh-ajax-for-dommies

Leave a Reply

You must be logged in to post a comment.



Site Navigation