3 ms·
>> "jQuery primarily gives developers a generic way to access and manipulate DOM elements (one of the main differences between browsers)." I just don't get thi
by axod 18y ago
>> "jQuery primarily gives developers a generic way to access and manipulate DOM elements (one of the main differences between browsers)."
I just don't get this. There aren't many differences between the browsers these days in terms of js at all. Rendering? sure. CSS? definitely. But js, and dom manipulation pretty much just works. Event handling is slightly different, but not massively.
I really do think the "Allows you to develop cross browser" is vastly overplayed.
- jeresig 18y agoI don't think so - there are so many bizarre DOM cross-browser issues out there. In fact, I did a whole presentation (at Yahoo!) concerning this very topic: http://ejohn.org/blog/the-dom-is-a-mess/ http://ejohn.org/blog/the-dom-is-a-mess/
- axod 18y agoThanks for the link, I've never had such issues, but then I don't like the whole concept of getElementsByTagName getElementsByClassName querySelectorAll etc If you're just using getElementByID, and the standard dom properties to navigate the tree (And make sure you don't do bad things with name= id= or use reserved words), you can't go far wrong.