<?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: Javascript &#8211; Passing Multiple Parameters through setTimeout</title>
	<atom:link href="http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/</link>
	<description>Application Developer/Designer</description>
	<lastBuildDate>Fri, 05 Mar 2010 10:34:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard</title>
		<link>http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/#comment-202</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 02 Nov 2009 02:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardcastera.com/?p=509#comment-202</guid>
		<description>@Richard, Thanks!</description>
		<content:encoded><![CDATA[<p>@Richard, Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/#comment-200</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 30 Oct 2009 23:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardcastera.com/?p=509#comment-200</guid>
		<description>THIS IS JUST AWESOME! THANKS!!!</description>
		<content:encoded><![CDATA[<p>THIS IS JUST AWESOME! THANKS!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/#comment-61</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sun, 28 Jun 2009 22:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardcastera.com/?p=509#comment-61</guid>
		<description>Hello Harald! Thank you for your comment. Sometimes it may be necessary to override native functions to add additional functionality or to implement something specific to your requirements. Your example is missing one major element that this post contains. The ability to pass multiple parameters to a function that is called in setTimeout at the specified interval. With the native setTimeout this is not possible.</description>
		<content:encoded><![CDATA[<p>Hello Harald! Thank you for your comment. Sometimes it may be necessary to override native functions to add additional functionality or to implement something specific to your requirements. Your example is missing one major element that this post contains. The ability to pass multiple parameters to a function that is called in setTimeout at the specified interval. With the native setTimeout this is not possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harald</title>
		<link>http://www.richardcastera.com/2009/06/22/javascript-passing-multiple-parameters-through-settimeout/#comment-55</link>
		<dc:creator>harald</dc:creator>
		<pubDate>Wed, 24 Jun 2009 06:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardcastera.com/?p=509#comment-55</guid>
		<description>why would anyone like to overwrite the setTimeout method, when it&#039;s so much easier to just write:

var message = &#039;Hello&#039;;
var name = &#039;Richard&#039;;

window.setTimeout(function() { alertMe(message, name); }, 2000);

... am i missing something or did the original author of the snippet did not understand variable scope in javascript?</description>
		<content:encoded><![CDATA[<p>why would anyone like to overwrite the setTimeout method, when it&#8217;s so much easier to just write:</p>
<p>var message = &#8216;Hello&#8217;;<br />
var name = &#8216;Richard&#8217;;</p>
<p>window.setTimeout(function() { alertMe(message, name); }, 2000);</p>
<p>&#8230; am i missing something or did the original author of the snippet did not understand variable scope in javascript?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
