<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DalSoft &#187; javascript</title>
	<atom:link href="http://www.dalsoft.co.uk/blog/index.php/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dalsoft.co.uk/blog</link>
	<description>Dalsoft&#039;s Blog</description>
	<lastBuildDate>Mon, 02 Aug 2010 09:17:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A better way to call a JavaScript function using a string</title>
		<link>http://www.dalsoft.co.uk/blog/index.php/2009/10/22/a-better-way-to-call-a-javascript-function-using-a-string/</link>
		<comments>http://www.dalsoft.co.uk/blog/index.php/2009/10/22/a-better-way-to-call-a-javascript-function-using-a-string/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 20:32:22 +0000</pubDate>
		<dc:creator>DalSoft</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yam]]></category>

		<guid isPermaLink="false">http://www.dalsoft.co.uk/blog/?p=423</guid>
		<description><![CDATA[Usually when I need to call a JavaScript function using a string I use: function myUsefulFunction() { //useful code } var foo = 'myUsefulFunction();'; eval(foo); However a more elegant approach would be to use: function myUsefulFunction() { //useful code } this['myUsefulFunction'](); Why does this work? It works because nearly everything in JavaScript is an object, [...]]]></description>
		<wfw:commentRss>http://www.dalsoft.co.uk/blog/index.php/2009/10/22/a-better-way-to-call-a-javascript-function-using-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
