<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Agent YUI: Mission 5 &#8211; Ajax. Shaken, not stirred.</title>
	<atom:link href="http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Mar 2010 06:54:55 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: xanders</title>
		<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/comment-page-1/#comment-12639</link>
		<dc:creator>xanders</dc:creator>
		<pubDate>Tue, 28 Oct 2008 23:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=214#comment-12639</guid>
		<description>this 

for (var i = 0; i &lt; len; i++) {
    YAHOO.util.Event.addListener(anchors[i], &quot;click&quot;, function (e) {
        YAHOO.util.Event.preventDefault(e);
        YAHOO.util.Connect.asyncRequest(&quot;GET&quot;, this.href + &quot;table_snippet.php&quot;, { success: requestSuccess, failure: requestFailure });
        })
    };
}

could be this:
 YAHOO.util.Event.on(anchors, &#039;click&#039;, function(e){
 	YAHOO.util.Event.preventDefault(e);
	YAHOO.util.Connect.asyncRequest(&quot;GET&quot;, YAHOO.util.Event.getTarget(e).href + &quot;table_snippet.php&quot;, { success: requestSuccess, failure: requestFailure });
 });

Event.on accepts a bunch of nodes too</description>
		<content:encoded><![CDATA[<p>this </p>
<p>for (var i = 0; i &lt; len; i++) {<br />
    YAHOO.util.Event.addListener(anchors[i], &#8220;click&#8221;, function (e) {<br />
        YAHOO.util.Event.preventDefault(e);<br />
        YAHOO.util.Connect.asyncRequest(&#8221;GET&#8221;, this.href + &#8220;table_snippet.php&#8221;, { success: requestSuccess, failure: requestFailure });<br />
        })<br />
    };<br />
}</p>
<p>could be this:<br />
 YAHOO.util.Event.on(anchors, &#8216;click&#8217;, function(e){<br />
 	YAHOO.util.Event.preventDefault(e);<br />
	YAHOO.util.Connect.asyncRequest(&#8221;GET&#8221;, YAHOO.util.Event.getTarget(e).href + &#8220;table_snippet.php&#8221;, { success: requestSuccess, failure: requestFailure });<br />
 });</p>
<p>Event.on accepts a bunch of nodes too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: In the Wild for August 21, 2008 &#187; Yahoo! User Interface Blog</title>
		<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/comment-page-1/#comment-9679</link>
		<dc:creator>In the Wild for August 21, 2008 &#187; Yahoo! User Interface Blog</dc:creator>
		<pubDate>Thu, 21 Aug 2008 21:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=214#comment-9679</guid>
		<description>[...] Ajax: Shaken, not Stirred: Also from a fellow Yahoo, this tutorial from Klaus Komenda is an entertaining introduction to YUI&#8217;s Ajax component, Connection Manager. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajax: Shaken, not Stirred: Also from a fellow Yahoo, this tutorial from Klaus Komenda is an entertaining introduction to YUI&#8217;s Ajax component, Connection Manager. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfred westerveld</title>
		<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/comment-page-1/#comment-8978</link>
		<dc:creator>alfred westerveld</dc:creator>
		<pubDate>Sun, 03 Aug 2008 11:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=214#comment-8978</guid>
		<description>Hi Klaus,

Nice YUI tutorials. Hope more will come. Maybe you want to do screencasts like dustindiaz did in the past. See for example http://www.dustindiaz.com/downloads/screencasts/screencast-01-yui-basics.mov.

I only have on comment. You wrote:
var response = eval(&quot;(&quot; + o.responseText + &quot;)&quot;);

If I am right using eval is evil and should be avoided if possible. I believe YUI has a JSON module to do this work for you.

Greetings,
Alfred Westerveld</description>
		<content:encoded><![CDATA[<p>Hi Klaus,</p>
<p>Nice YUI tutorials. Hope more will come. Maybe you want to do screencasts like dustindiaz did in the past. See for example <a href="http://www.dustindiaz.com/downloads/screencasts/screencast-01-yui-basics.mov" rel="nofollow">http://www.dustindiaz.com/downloads/screencasts/screencast-01-yui-basics.mov</a>.</p>
<p>I only have on comment. You wrote:<br />
var response = eval(&#8221;(&#8221; + o.responseText + &#8220;)&#8221;);</p>
<p>If I am right using eval is evil and should be avoided if possible. I believe YUI has a JSON module to do this work for you.</p>
<p>Greetings,<br />
Alfred Westerveld</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus</title>
		<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/comment-page-1/#comment-8758</link>
		<dc:creator>Klaus</dc:creator>
		<pubDate>Mon, 28 Jul 2008 17:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=214#comment-8758</guid>
		<description>@Nathaniel:
Thanks very much for your feedback, Nathaniel. It is always good to hear when people find my stuff useful :-)</description>
		<content:encoded><![CDATA[<p>@Nathaniel:<br />
Thanks very much for your feedback, Nathaniel. It is always good to hear when people find my stuff useful <img src='http://www.klauskomenda.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathaniel B</title>
		<link>http://www.klauskomenda.com/archives/2008/07/26/agent-yui-mission-5-ajax-shaken-not-stirred/comment-page-1/#comment-8754</link>
		<dc:creator>Nathaniel B</dc:creator>
		<pubDate>Mon, 28 Jul 2008 13:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=214#comment-8754</guid>
		<description>Hello! Many thanks for your &quot;Mission&quot; series thusfar; I always wanted to get into YUI but I never found the &quot;key to open the door&quot; so to speak; your series has given me that key!

Looking foward to all your future posts,
- Reader &amp; Subscriber Nathaniel B</description>
		<content:encoded><![CDATA[<p>Hello! Many thanks for your &#8220;Mission&#8221; series thusfar; I always wanted to get into YUI but I never found the &#8220;key to open the door&#8221; so to speak; your series has given me that key!</p>
<p>Looking foward to all your future posts,<br />
- Reader &amp; Subscriber Nathaniel B</p>
]]></content:encoded>
	</item>
</channel>
</rss>
