Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Javascript events and selections cross browser

I'm building a small page with Javascript. Is anyone aware of information or discussion of the ways different browsers handle events and DOM selection? Also, are there any micro JS libraries which address cross browser inconsistencies (JQuery is great but unfortunately I can't use it on this project)

2 Answers

What browsers are you needing to support, jesse bradock? I've looked at Zepto.js a good bit and it's pretty cool.

Also, if you're not having to support too many old browsers, I've used querySelectorAll a good bit, and it works great.

Hi Alan, thanks for responding. Unfortunately I need to support IE8 at a minimum. Zepto.js looks great but it supports IE10+. I'll continue looking ....