Jun
15
15
Guide about the new DOM document.querySelectorAll();
John Resig wrote a good piece on the new querySelectorAll.all() api on hacks.mozzila.org. document.querySelectorAll() give you a better grip on CSS selection. For exemple, if you want to get every span in p tags, you would write document.querySelectorAll(“p span”), which is a huge improvement over the older DOM technics. This API can be used with all major browsers excluding IE6, IE7 and only CSS 2.1 selector for IE8.
Head here for all the details.
Leave a comment
Articles
Some Tweets
- browseemall a nice solution for cross-browser testing http://t.co/b9ijFDqp
- Backbone.js 0.9 is kind of a nightmare for me, I see nothing in the changelog that should break my code but, lot of stuff are broken
- jQuery Mobile and backbone.js, the ugly http://t.co/Vi0UJlxe
- Instapaper Founder Marco Arment On The App Business http://t.co/HjiSYwjO
- CSS bug on ie8, only on windows xp, yay me, testing on a decade years old OS
- jQuery Mobile and backbone.js, the ugly http://t.co/Vi0UJlxe








