Tag Archives: AJAX

jQuery Playground: The base of AJAX

A very simple trick… HTML: <img id=”some-image” src=”http://domain.com/image.jpg” alt=”” width=”200″ height=”70″ /> Script: var someimage = jQuery(“img[id=’some-image’]”); jQuery.get( someimage.attr(“src”), function( ) { // Do something }); This (way of client requests) is the base of  AJAX/XMLHttpRequest, in this case is … Continue reading

Posted in Basic Technical | Tagged , , , | Comments Off on jQuery Playground: The base of AJAX