<?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"
	>
<channel>
	<title>Comments on: Found Code: JavaScript getElementById, Performance, and the $ Function.</title>
	<atom:link href="http://www.ericdelabar.com/2008/04/javascript-getelementbyid-performance.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ericdelabar.com/2008/04/javascript-getelementbyid-performance.html</link>
	<description>Web 2.0 from a Web Purist and J2EE Developer</description>
	<pubDate>Wed, 03 Dec 2008 20:39:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: admin</title>
		<link>http://www.ericdelabar.com/2008/04/javascript-getelementbyid-performance.html#comment-721</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 12 Apr 2008 20:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericdelabar.com/?p=36#comment-721</guid>
		<description>@Sam,

To answer your question, the getElementById was the native implementation.  Although I'm not sure what prototype does with that situation, so the $ function could be a patched version.  I used the latest stable version of prototype in this example (1.6.0.2).

Thanks for pointing out the bug, I was aware of it, but I usually just work around it by making sure my names and ids are all unique, although I never really thought of the meta description tag as pointed out by the bug.</description>
		<content:encoded><![CDATA[<p>@Sam,</p>
<p>To answer your question, the getElementById was the native implementation.  Although I&#8217;m not sure what prototype does with that situation, so the $ function could be a patched version.  I used the latest stable version of prototype in this example (1.6.0.2).</p>
<p>Thanks for pointing out the bug, I was aware of it, but I usually just work around it by making sure my names and ids are all unique, although I never really thought of the meta description tag as pointed out by the&nbsp;bug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.ericdelabar.com/2008/04/javascript-getelementbyid-performance.html#comment-718</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sat, 12 Apr 2008 20:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericdelabar.com/?p=36#comment-718</guid>
		<description>Just out of interest, were your tests in IE on the native .getElementById()? or was it a patched version to overcome the IE bugs with this method?

see bug here:

http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html

Getting the result fast in IE is no good to anyone if it is the WRONG result!</description>
		<content:encoded><![CDATA[<p>Just out of interest, were your tests in <span class="caps">IE</span> on the native .getElementById()? or was it a patched version to overcome the <span class="caps">IE</span> bugs with this method?</p>
<p>see bug here:</p>
<p><a href="http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html" rel="nofollow">http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html</a></p>
<p>Getting the result fast in <span class="caps">IE</span> is no good to anyone if it is the <span class="caps">WRONG</span>&nbsp;result!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.593 seconds -->
