<?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>FarmSoft Studios Scratchpad &#187; programming</title>
	<atom:link href="http://scratchpad.farmsoftstudios.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://scratchpad.farmsoftstudios.com</link>
	<description>What We're Thinking About Right Now...</description>
	<lastBuildDate>Tue, 03 May 2011 21:47:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Setting an HTML element&#8217;s class with Javascript</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 18:32:07 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=139</guid>
		<description><![CDATA[I was pulling my hair out trying to figure out why I was getting a parse-error with this code&#8230; DUH! document.getElementById('test').class = "test" &#8220;class&#8221; is a reserved name, of course&#8230; So you access it with: document.getElementById('test').className = "test"]]></description>
			<content:encoded><![CDATA[<p>I was pulling my hair out trying to figure out why I was getting a parse-error with this code&#8230; DUH!
<pre>document.getElementById('test').class = "test"</pre>
<p>&#8220;class&#8221; is a reserved name, of course&#8230;  So you access it with:
<pre>document.getElementById('test').className = "test"</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

