Simon Willison’s Weblog

Subscribe
Atom feed for getelementsbyclassname

1 item tagged “getelementsbyclassname”

2008

getElementsByClassName pre Prototype 1.6. 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.

# 26th March 2008, 8:28 am / firefox3, getelementsbyclassname, javascript, john-resig, namespaces, prototype, safari