Simon Willison’s Weblog

Blogmarks tagged johnresig, javascript, firefox, selectors in Aug, 2008

Filters: Type: blogmark × Year: 2008 × Month: Aug × johnresig × javascript × firefox × selectors ×


querySelectorAll in Firefox 3.1. John Resig benchmarks the various JavaScript libraries’ support for querySelelectorAll, and finds an impressive 2-6x performance improvement over native DOM traversal. It’s worth clicking through to John’s experimental plugin for adding support to jQuery, which does a clever trick using __proto__ to convert the collection returned by querySelectorAll in to a jQuery object in browsers that support it. # 21st August 2008, 9:50 am

Types

Years

Months

Tags