<?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: IE 6 getElementsById() and prototype $() function return dom elements by *name*</title>
	<atom:link href="http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/feed/" rel="self" type="application/rss+xml" />
	<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/</link>
	<description>Development Blog</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:31:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew Noyes</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-458</link>
		<dc:creator>Andrew Noyes</dc:creator>
		<pubDate>Mon, 27 Jul 2009 20:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-458</guid>
		<description>Depends on which bandwagon you&#039;re on; XHTML 2.0 or HTML5. I tend to agree with the HTML5 side of the fence--the XHTML spec as is and into the foreseeable future is a purely academic agreement and seems to care almost not at all for the problems facing UI designers. The spec is designed for the markup of academic and scientific documents, and beyond that you&#039;re stretching the rules. I honestly would have liked for HTML5 to be based on XHTML 1.0. It&#039;s not any more semantic than HTML 4.01, but I just like how the community at large has used XHTML as an opportunity to rally people around standards compliance. Not to insult the intelligence of web designers, but it&#039;s easier to tell people &quot;XHTML good, HTML bad&quot; than say &quot;HTML 4.01 Strict should be typed semantically and strictly, and here are a few scenarios you should avoid&quot;. It leaves a lot of gray area, and gray area is what lead HTML to such misuse in the past.</description>
		<content:encoded><![CDATA[<p>Depends on which bandwagon you&#8217;re on; XHTML 2.0 or HTML5. I tend to agree with the HTML5 side of the fence&#8211;the XHTML spec as is and into the foreseeable future is a purely academic agreement and seems to care almost not at all for the problems facing UI designers. The spec is designed for the markup of academic and scientific documents, and beyond that you&#8217;re stretching the rules. I honestly would have liked for HTML5 to be based on XHTML 1.0. It&#8217;s not any more semantic than HTML 4.01, but I just like how the community at large has used XHTML as an opportunity to rally people around standards compliance. Not to insult the intelligence of web designers, but it&#8217;s easier to tell people &#8220;XHTML good, HTML bad&#8221; than say &#8220;HTML 4.01 Strict should be typed semantically and strictly, and here are a few scenarios you should avoid&#8221;. It leaves a lot of gray area, and gray area is what lead HTML to such misuse in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-457</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Mon, 27 Jul 2009 19:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-457</guid>
		<description>Wow, I had no idea the name attribute was deprecated in xhtml! To keep this geeky conversation going, I heard that XHTML is being ditched at the end of 2009 in support of HTML 5 (&lt;a href=&quot;http://www.w3.org/2009/06/xhtml-faq.html&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;). Crazy times. I kinda liked xhtml but only because it made me feel like my html was &quot;better&quot;.</description>
		<content:encoded><![CDATA[<p>Wow, I had no idea the name attribute was deprecated in xhtml! To keep this geeky conversation going, I heard that XHTML is being ditched at the end of 2009 in support of HTML 5 (<a href="http://www.w3.org/2009/06/xhtml-faq.html" rel="nofollow">link</a>). Crazy times. I kinda liked xhtml but only because it made me feel like my html was &#8220;better&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Noyes</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-456</link>
		<dc:creator>Andrew Noyes</dc:creator>
		<pubDate>Mon, 27 Jul 2009 19:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-456</guid>
		<description>Indeed--I discovered that by accident myself. I was trying to get a page to validate XHTML 1.0 Strict, but it wouldn&#039;t do so with the name attribute, which is deprecated. I figured the W3C must have provisioned that in the spec, so I gave it a whirl and sure enough, id&#039;s worked just fine. That tip was a lifesaver when it came to making some very JavaScript intensive navigation schemes work without JavaScript.</description>
		<content:encoded><![CDATA[<p>Indeed&#8211;I discovered that by accident myself. I was trying to get a page to validate XHTML 1.0 Strict, but it wouldn&#8217;t do so with the name attribute, which is deprecated. I figured the W3C must have provisioned that in the spec, so I gave it a whirl and sure enough, id&#8217;s worked just fine. That tip was a lifesaver when it came to making some very JavaScript intensive navigation schemes work without JavaScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-455</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Mon, 27 Jul 2009 18:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-455</guid>
		<description>You know, I never realized that using an id tag would work for an anchor, let alone an id tag on *any* type of element! I checked to see if this was just an unofficial thing or actually in the spec, and the w3c says that it&#039;s totally legit, but that some older user agents don&#039;t support anchors created with ids and that the name attribute allows richer names (with entities) that ids cannot (but names only work on &lt;a&gt; tags). Very interesting indeed! Learn something new every day.</description>
		<content:encoded><![CDATA[<p>You know, I never realized that using an id tag would work for an anchor, let alone an id tag on *any* type of element! I checked to see if this was just an unofficial thing or actually in the spec, and the w3c says that it&#8217;s totally legit, but that some older user agents don&#8217;t support anchors created with ids and that the name attribute allows richer names (with entities) that ids cannot (but names only work on &lt;a&gt; tags). Very interesting indeed! Learn something new every day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Noyes</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-454</link>
		<dc:creator>Andrew Noyes</dc:creator>
		<pubDate>Mon, 27 Jul 2009 18:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-454</guid>
		<description>Ah, is there some long lost IE version that doesn&#039;t support using ids in place of names?</description>
		<content:encoded><![CDATA[<p>Ah, is there some long lost IE version that doesn&#8217;t support using ids in place of names?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-453</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Mon, 27 Jul 2009 18:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-453</guid>
		<description>In this case I was only using the name attribute because to create an inline anchor you need them. I just happened to have a named anchor and a div with that same name as its ID that I needed to fetch in JS, otherwise I would have never ran into this issue! But you are right, not a good idea to mix ids and names if you don&#039;t have to!</description>
		<content:encoded><![CDATA[<p>In this case I was only using the name attribute because to create an inline anchor you need them. I just happened to have a named anchor and a div with that same name as its ID that I needed to fetch in JS, otherwise I would have never ran into this issue! But you are right, not a good idea to mix ids and names if you don&#8217;t have to!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Noyes</title>
		<link>http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/comment-page-1/#comment-452</link>
		<dc:creator>Andrew Noyes</dc:creator>
		<pubDate>Mon, 27 Jul 2009 17:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://stereointeractive.com/blog/2009/07/27/ie-6-getelementsbyid-and-prototype-function-return-dom-elements-by-name/#comment-452</guid>
		<description>People have often noted that Prototype&#039;s greatest weakness is its reliance on extending the browser&#039;s DOM API. Good catch! I have to wonder, though--why mix ids and names? Why not just use ids?</description>
		<content:encoded><![CDATA[<p>People have often noted that Prototype&#8217;s greatest weakness is its reliance on extending the browser&#8217;s DOM API. Good catch! I have to wonder, though&#8211;why mix ids and names? Why not just use ids?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
