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
- kind of old, bit I like it http://www.thereisnopagefold.com/
- I really have a love/hate relationship with the E texteditor, so good but so bad at the same time
- onclick on a form instead of submit? Please never do javascript again
- Question: do you think the mobile web has a viable market right more? Pretty hard to convince clients to invest
- I meant jquery mobile.. meh
- Looks like sencha touch will have competition, jquery touch is looking hot!








