<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: getelementsbyclassname</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/getelementsbyclassname.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-03-26T08:28:05+00:00</updated><author><name>Simon Willison</name></author><entry><title>getElementsByClassName pre Prototype 1.6</title><link href="https://simonwillison.net/2008/Mar/26/john/#atom-tag" rel="alternate"/><published>2008-03-26T08:28:05+00:00</published><updated>2008-03-26T08:28:05+00:00</updated><id>https://simonwillison.net/2008/Mar/26/john/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/"&gt;getElementsByClassName pre Prototype 1.6&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Older releases of Prototype break in Firefox 3 and Safari 3.1 due to unsafe namespace management—getElementsByClassName is now a browser built-in but with different semantics to the Prototype method of the same name. Prototype 1.6 is fine.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/firefox3"&gt;firefox3&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/getelementsbyclassname"&gt;getelementsbyclassname&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/john-resig"&gt;john-resig&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/namespaces"&gt;namespaces&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prototype-js"&gt;prototype-js&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/safari"&gt;safari&lt;/a&gt;&lt;/p&gt;



</summary><category term="firefox3"/><category term="getelementsbyclassname"/><category term="javascript"/><category term="john-resig"/><category term="namespaces"/><category term="prototype-js"/><category term="safari"/></entry></feed>