Max Kiesler - Responsive Designer

AJAX loader for XML and HTML files through xmlHttpRequest


Posted on 5th September, by max in Writing. Comments Off

Have you read about AJAX and xmlhttprequest but never loaded anything into your webpage using this brilliant technology? Read on because here is a easy to use AJAX script that will let you do that in less than five minutes.”I found this script at The Javascript Source today and had it loading content in just a few minutes. As they stated in their site, “In the body tag, just add the name of the file to load and the element to display the file in, usually a div element.””rnThere are just 3 steps to installing the AJAX Loader”1.  Copy the coding into the HEAD of your HTML document”2.  Add the onLoad event handler into the BODY tag”rn3.  Put the last coding into the BODY of your HTML document”rnHere is the source in both .tgz and .zip “rnI couldn’t find the authors name but big thank for the great script! If anyone who reads this post knows the authors name I would love to include it in the post, so please let me know. rn





Comments are closed.