Live data from Hacker News

Why do yo use JavaScript-Libraries like jQuery?

news.ycombinator.com

11–17 of 17 posts

Re: Why do yo use JavaScript-Libraries like jQuery?

#14
post #2

"Selecting DOM elements isn't an argument" I think this is actually the remaining argument. JQuery was the best at selecting DOM elements and grew from there. I think the question now is whether you find enough value in the other parts of JQuery to include its (rather massive) .js file.

You can use the selection engine as a standalone.

http://sizzlejs.com/

Re: Why do yo use JavaScript-Libraries like jQuery?

#15
Practically everything I can think of needing on a daily basis has a solution already made and tested in jQuery. Very rarely do I have to reinvent the wheel, be it tablesorting, an AJAX-sourced type-ahead box, or a nicer date widget. That saves time and effort.

Its ubiquity also means that problems are often already solved in it. Every time I've run into a jQuery bug there has been discussion and work-arounds already posted online by people much smarter than myself.

Post reply on HN