Ajax Loader 2 | JavaScriptSource

Ajax Loader 2

Eddie Traversa Aug 31, 2005

General

Use this script to load XML and HTML files with XMLHTTPREQUEST. In the div id=EchoTopic tag, just add the name of the file to load and the element to display the file in, usually a div element.

Notes

  • Created by: Eddie Traversa

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: ajaxLoader.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(15 comments)

its very nice to understand and implement it... thanks..

thamil Sep 8, 2008

I love AJAX!

phannarak Aug 10, 2008

Nice content. thanks

fnfzone Jun 25, 2008

You will need to submit your question to the [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]JavaScript forums[/a].

Lee May 12, 2008

Thanks for the heads-up. I have removed the link.

Lee May 12, 2008