<?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: Get elements by class name with javascript</title>
	<atom:link href="http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/</link>
	<description>Mark Robson&#039;s web development blog</description>
	<lastBuildDate>Fri, 05 Feb 2010 11:32:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Opening a browser in a new window&#160;&#124;&#160;Whiteforest</title>
		<link>http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/comment-page-1/#comment-112</link>
		<dc:creator>Opening a browser in a new window&#160;&#124;&#160;Whiteforest</dc:creator>
		<pubDate>Fri, 05 Feb 2010 11:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.whiteforest.co.uk/?p=130#comment-112</guid>
		<description>[...] attaching a class of &#8220;external&#8221; to each link, and then usung javascript descibed in my get elements by class name example, attach a &#8220;window.open(this.href)&#8221; to each one. I now use JQuery, so that code [...]</description>
		<content:encoded><![CDATA[<p>[...] attaching a class of &#8220;external&#8221; to each link, and then usung javascript descibed in my get elements by class name example, attach a &#8220;window.open(this.href)&#8221; to each one. I now use JQuery, so that code [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/comment-page-1/#comment-110</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 29 Jan 2010 23:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.whiteforest.co.uk/?p=130#comment-110</guid>
		<description>What are you trying to achieve? What do you want to be able to do?</description>
		<content:encoded><![CDATA[<p>What are you trying to achieve? What do you want to be able to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/comment-page-1/#comment-108</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 29 Jan 2010 00:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.whiteforest.co.uk/?p=130#comment-108</guid>
		<description>I&#039;m not sure what you mean. Basically this is DOM scripting, you want to get access to all elements with a class. One example is if you have set a class of &quot;external&quot; on links that you want to open a new window with. So you would call getElementsByClassName(&#039;external&#039;) which would return an array of a elements that you could loop through and attach a function to. Hope that helps.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you mean. Basically this is DOM scripting, you want to get access to all elements with a class. One example is if you have set a class of &#8220;external&#8221; on links that you want to open a new window with. So you would call getElementsByClassName(&#8217;external&#8217;) which would return an array of a elements that you could loop through and attach a function to. Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.whiteforest.co.uk/2009/05/get-elements-by-class-name-with-javascript/comment-page-1/#comment-107</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 28 Jan 2010 22:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.whiteforest.co.uk/?p=130#comment-107</guid>
		<description>But how do i use this on my site. Du i have to rename some of it&#039;s content?</description>
		<content:encoded><![CDATA[<p>But how do i use this on my site. Du i have to rename some of it&#8217;s content?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
