<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippet Revisions</title>
		<link>http://www.bytemycode.com</link>
		<description>Revisions for this snippet.</description>
		<pubDate>Sat, 11 Oct 2008 00:15:06 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	
	<item>
		<title>Dead-simple XMLRequest framework for AJAX 1</title>
		<link>http://www.bytemycode.com/snippets/snippet/526/1/</link>
		<comments>http://www.bytemycode.com/snippets/snippet/526/comments/</comments>
		<pubDate>Tue, 07 Nov 2006 12:41:53 +0000</pubDate>
		<dc:creator>Fordiman</dc:creator>
		<category>ajax, http, JavaScript, XML</category>
		<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/526/</guid>
		<description>
			<![CDATA[
				<p>This is a simple script to provide basic cross-platform XML request functionality in Javascript.  It's meant to be the core component in any AJAX style framework.  It is not an instantiable object, but instead is a namespaced microlibrary.<br /><br />Calling is easy:<br />XMLRequest.GET(<i>uri</i>, <i>query</i>, <i>callback</i>, <i>fallback</i>)<br />uri: The location you're after<br />query: an associative array of form data to provide via the URL<br />callback: callback function of the form myCallbackFunction(<i>objXMLHttpRequest</i>), which is called upon successful (response = 200 OK) retrieval of the XML data<br />fallback: myFallbackFunction(<i>objXMLHttpRequest</i>), which is called upon failed (response != 200 OK) retrieval of the XML data.<br /><br />XMLRequest.POST(<i>uri</i>, <i>query</i>, <i>form</i>, <i>callback</i>, <i>fallback</i>)<br />Similar, but does the query using the POST method.  'query' is the URL-appended data, still in associative array form, and 'form' is the same for the POST data.</p>
			]]>
		</description>
	</item>

	
	</channel>
</rss>