<?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 AddEventListener method</title>
	<atom:link href="http://ditio.net/2009/04/25/javascript-addeventlistener-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://ditio.net/2009/04/25/javascript-addeventlistener-method/</link>
	<description>Practical guide to WordPress development, blogging and programming</description>
	<lastBuildDate>Sun, 11 Dec 2011 21:19:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Nairit</title>
		<link>http://ditio.net/2009/04/25/javascript-addeventlistener-method/comment-page-1/#comment-77138</link>
		<dc:creator>Nairit</dc:creator>
		<pubDate>Wed, 15 Dec 2010 06:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=203#comment-77138</guid>
		<description>I am an experienced web programmer developing an add-on software for Mozilla for the first time.I searched through google for 2 days.Ultimately nothing seemed to be working on Firefox 3.5.2 I was about to lose hope when I found Jurgen&#039;s code to be working:

SpanFavouriteRef.addEventListener(&quot;click&quot;, AddToFavourites, false);

AddToFavourites() function call worked.I still can&#039;t pass an argument,but I have found a work-around to that.

Thanks Jurgen.Keep discussing....</description>
		<content:encoded><![CDATA[<p>I am an experienced web programmer developing an add-on software for Mozilla for the first time.I searched through google for 2 days.Ultimately nothing seemed to be working on Firefox 3.5.2 I was about to lose hope when I found Jurgen&#8217;s code to be working:</p>
<p>SpanFavouriteRef.addEventListener(&#8220;click&#8221;, AddToFavourites, false);</p>
<p>AddToFavourites() function call worked.I still can&#8217;t pass an argument,but I have found a work-around to that.</p>
<p>Thanks Jurgen.Keep discussing&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ROBERT RICHEY</title>
		<link>http://ditio.net/2009/04/25/javascript-addeventlistener-method/comment-page-1/#comment-22791</link>
		<dc:creator>ROBERT RICHEY</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=203#comment-22791</guid>
		<description>eHlrJX Bravo! Nice Article.,</description>
		<content:encoded><![CDATA[<p>eHlrJX Bravo! Nice Article.,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurgen</title>
		<link>http://ditio.net/2009/04/25/javascript-addeventlistener-method/comment-page-1/#comment-22714</link>
		<dc:creator>Jurgen</dc:creator>
		<pubDate>Fri, 03 Jul 2009 18:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=203#comment-22714</guid>
		<description>Wouldn&#039;t it be a lot nicer to do something like this for initialization?

&lt;code&gt;
if(window.addEventListener)
     window.addEventListener(&#039;load&#039;, registerEvents, false);
else if(window.attachEvent)
     window.attachEvent(&#039;onload&#039;, registerEvents);
&lt;/code&gt;

It seems a bit strange to do an article on eventlisteners and then not using them where they apply most. What you did is exactly what you wanted to avoid in HTML but you did the same on the javascript level.
&lt;cite&gt; 
So i want to show you nice and clean way of adding events to the objects/tags without implicitly declaring some action in the tag 
&lt;/cite&gt;
You also don&#039;t have the problem of saving the old onload-handler.</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t it be a lot nicer to do something like this for initialization?</p>
<p><code><br />
if(window.addEventListener)<br />
     window.addEventListener('load', registerEvents, false);<br />
else if(window.attachEvent)<br />
     window.attachEvent('onload', registerEvents);<br />
</code></p>
<p>It seems a bit strange to do an article on eventlisteners and then not using them where they apply most. What you did is exactly what you wanted to avoid in HTML but you did the same on the javascript level.<br />
<cite><br />
So i want to show you nice and clean way of adding events to the objects/tags without implicitly declaring some action in the tag<br />
</cite><br />
You also don&#8217;t have the problem of saving the old onload-handler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NIck</title>
		<link>http://ditio.net/2009/04/25/javascript-addeventlistener-method/comment-page-1/#comment-19633</link>
		<dc:creator>NIck</dc:creator>
		<pubDate>Fri, 01 May 2009 16:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://ditio.net/?p=203#comment-19633</guid>
		<description>A final downloadable example would be appreciated!</description>
		<content:encoded><![CDATA[<p>A final downloadable example would be appreciated!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

