<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Degradable SELECT&#160;onChange</title> <atom:link href="http://davidwalsh.name/select-onchange/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/select-onchange</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 02:40:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Zac</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10685</link> <dc:creator>Zac</dc:creator> <pubDate>Sat, 25 Jul 2009 20:10:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10685</guid> <description>David, I just want to say that your blog rocks. </description> <content:encoded><![CDATA[<p>David, I just want to say that your blog rocks.</p> ]]></content:encoded> </item> <item><title>By: Adriaan</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10684</link> <dc:creator>Adriaan</dc:creator> <pubDate>Sat, 25 Jul 2009 17:55:41 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10684</guid> <description>@Stephen: because this is framework independent javascript</description> <content:encoded><![CDATA[<p>@Stephen: because this is framework independent javascript</p> ]]></content:encoded> </item> <item><title>By: Stephen</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10683</link> <dc:creator>Stephen</dc:creator> <pubDate>Sat, 25 Jul 2009 17:45:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10683</guid> <description>Am I missing something or why do you use getElementById() instead of $()?</description> <content:encoded><![CDATA[<p>Am I missing something or why do you use getElementById() instead of $()?</p> ]]></content:encoded> </item> <item><title>By: Peter Velichkov</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10669</link> <dc:creator>Peter Velichkov</dc:creator> <pubDate>Fri, 24 Jul 2009 22:20:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10669</guid> <description>why don&#039;t you just move the script bellow the form, this way you are sure you can access the element and don&#039;t have to wait for onLoad</description> <content:encoded><![CDATA[<p>why don&#8217;t you just move the script bellow the form, this way you are sure you can access the element and don&#8217;t have to wait for onLoad</p> ]]></content:encoded> </item> <item><title>By: James</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10622</link> <dc:creator>James</dc:creator> <pubDate>Thu, 23 Jul 2009 22:36:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10622</guid> <description>@Adriaan, only browsers that comply with the W3C event model support &quot;addEventListener&quot; - IE uses &quot;attachEvent&quot;. btw, @David, IE doesn&#039;t support event capturing in the same way as other browsers so the third argument (&quot;false&quot;) can be removed from &quot;select.attachEvent(&#039;onchange&#039;,handler,false);&quot;</description> <content:encoded><![CDATA[<p>@Adriaan, only browsers that comply with the W3C event model support &#8220;addEventListener&#8221; &#8211; IE uses &#8220;attachEvent&#8221;. btw, @David, IE doesn&#8217;t support event capturing in the same way as other browsers so the third argument (&#8220;false&#8221;) can be removed from &#8220;select.attachEvent(&#8216;onchange&#8217;,handler,false);&#8221;</p> ]]></content:encoded> </item> <item><title>By: Adriaan</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10619</link> <dc:creator>Adriaan</dc:creator> <pubDate>Thu, 23 Jul 2009 18:11:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10619</guid> <description>Might I ask why you are doing this:&lt;blockquote&gt;
if(select.addEventListener){
&lt;/blockquote&gt;don&#039;t all browsers support it or what?</description> <content:encoded><![CDATA[<p>Might I ask why you are doing this:</p><blockquote><p> if(select.addEventListener){</p></blockquote><p>don&#8217;t all browsers support it or what?</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10617</link> <dc:creator>David Walsh</dc:creator> <pubDate>Thu, 23 Jul 2009 16:57:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10617</guid> <description>&lt;p&gt;Hmmm, given more though, I could simply put the &lt;script&gt; tag into the body tag and not wait for the load event.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Hmmm, given more though, I could simply put the<script> tag into the body tag and not wait for the load event.</script></p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10615</link> <dc:creator>David Walsh</dc:creator> <pubDate>Thu, 23 Jul 2009 15:10:18 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10615</guid> <description>&lt;p&gt;@James:  My goal was to avoid using a JS lib.  I suppose it would be possible to implement a lib-independent DOMREADY function.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>@James:  My goal was to avoid using a JS lib.  I suppose it would be possible to implement a lib-independent DOMREADY function.</p> ]]></content:encoded> </item> <item><title>By: James</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10614</link> <dc:creator>James</dc:creator> <pubDate>Thu, 23 Jul 2009 15:08:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10614</guid> <description>Using the &quot;onLoad&quot; event is a bad idea; there&#039;ll be a significant amount of time between the button being visible and it being removed; this flicker isn&#039;t exactly good for the user experience. It&#039;s better to remove it the button as soon as the element exists - you could do this by using one of the psuedo-domReady events present in many of today&#039;s libraries.</description> <content:encoded><![CDATA[<p>Using the &#8220;onLoad&#8221; event is a bad idea; there&#8217;ll be a significant amount of time between the button being visible and it being removed; this flicker isn&#8217;t exactly good for the user experience. It&#8217;s better to remove it the button as soon as the element exists &#8211; you could do this by using one of the psuedo-domReady events present in many of today&#8217;s libraries.</p> ]]></content:encoded> </item> <item><title>By: Jeremy Parrish</title><link>http://davidwalsh.name/select-onchange/comment-page-1#comment-10613</link> <dc:creator>Jeremy Parrish</dc:creator> <pubDate>Thu, 23 Jul 2009 14:41:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3173#comment-10613</guid> <description>Even though it is possible to do it this way, I would much rather just wrap the submit button in a noscript tag. Maybe it&#039;s just me, but I think it&#039;s a bit tacky when I see stuff show briefly while loading and then disappear. Are there any issues with using a noscript tag?</description> <content:encoded><![CDATA[<p>Even though it is possible to do it this way, I would much rather just wrap the submit button in a noscript tag. Maybe it&#8217;s just me, but I think it&#8217;s a bit tacky when I see stuff show briefly while loading and then disappear. Are there any issues with using a noscript tag?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 01:04:01 -->
