<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Building Blocks - Prototype</title>
			<link>http://www.ajaxcf.com/blog/index.cfm</link>
			<description>tips for constructing next generation AJAX &amp; ColdFusion applications</description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 03:27:23 -0000</pubDate>
			<lastBuildDate>Fri, 03 Feb 2006 01:19:00 -0000</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>joe@ajaxcf.com</managingEditor>
			<webMaster>joe@ajaxcf.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>joe@ajaxcf.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Easy Ajax : Part 2</title>
				<link>http://www.ajaxcf.com/blog/index.cfm/2006/2/3/Easy-Ajax-Part-2</link>
				<description>
				
				In the first post of this series, we looked at a really basic AJAX example.  We simply pulled the time and date into our page via an AJAX call.&amp;nbsp; In this post, we&apos;ll take things a step further by passing a variables in and using it in the output.&lt;br /&gt;&lt;br /&gt; For this example, we&apos;ll take an input string and output it in reverse.&lt;br /&gt;&lt;br /&gt;Here is a working sample:&lt;br /&gt;&lt;br /&gt; &lt;script type=&quot;text/javascript&quot;&gt;        
    function run_ajax() {
         var url = &apos;/ajax/easy2.cfm&apos;;
         var pars = &apos;s=&apos;+escape($F(&apos;input_string&apos;));
         var target = &apos;ajax_div&apos;;
         var myAjax = new Ajax.Updater(target, url, {method:&apos;get&apos;, parameters:pars});
    }
&lt;/script&gt; &lt;input type=&quot;text&quot; class=&quot;s14&quot; style=&quot;float: left; margin-right: 5px;&quot; id=&quot;input_string&quot; /&gt; &lt;input type=&quot;button&quot; class=&quot;s14 b&quot; style=&quot;margin-right: 20px; float: left;&quot; onclick=&quot;run_ajax();&quot; value=&quot;Reverse It&quot; /&gt; &lt;span class=&quot;s14 b i&quot; id=&quot;ajax_div&quot;&gt;&lt;/span&gt;&lt;br /&gt;
				 [More]
				</description>
						
				
				<category>Prototype</category>				
				
				<category>AJAX</category>				
				
				<pubDate>Fri, 03 Feb 2006 01:19:00 -0000</pubDate>
				<guid>http://www.ajaxcf.com/blog/index.cfm/2006/2/3/Easy-Ajax-Part-2</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Easy Ajax : Part 1</title>
				<link>http://www.ajaxcf.com/blog/index.cfm/2006/1/27/Easy-Ajax-Part-1</link>
				<description>
				
				In this series of posts, I&apos;m going to demonstrate how to get some basic AJAX going using &lt;a href=&quot;http://prototype.conio.net/&quot;&gt;Prototype&lt;/a&gt; along with &lt;a href=&quot;http://www.macromedia.com/software/coldfusion/&quot;&gt;ColdFusion&lt;/a&gt; - it&apos;s easier than you think.&amp;nbsp; Prototype is all you need to get some serious AJAX going.  You can do it yourself and interact with the &lt;a href=&quot;http://en.wikipedia.org/wiki/XMLHttpRequest&quot;&gt;XmlHttpRequest&lt;/a&gt; object directly if you&apos;d like, but Prototype abstracts all the hard stuff - like worrying about how each specific browser gets its AJAX magic going.&lt;br /&gt;&lt;br /&gt;For this first example, we&apos;re going to keep it simple.&amp;nbsp; We&apos;ll just output the current time and date.&amp;nbsp; So here&apos;s what you need to do...&lt;br /&gt;&lt;br /&gt;First, include the following snippet in the &amp;lt;head&amp;gt; section of your page to include the Prototype library:&lt;br /&gt;&lt;br /&gt;
&lt;p class=&quot;codeblock&quot;&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;prototype.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>Prototype</category>				
				
				<category>AJAX</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 27 Jan 2006 09:07:00 -0000</pubDate>
				<guid>http://www.ajaxcf.com/blog/index.cfm/2006/1/27/Easy-Ajax-Part-1</guid>
				
				
			</item>
			
		 	
			</channel></rss>