News for hackers. Stuff that matters.
Re:JQuery now runs on every second website by podperson on Monday August 13, 2012 @11:35AM (#4376350)
It is built in to many browsers.

<node>.querySelector(...) and <node>.querySelectorAll(...)

If all you're using jQuery for is grabbing nodes from the DOM and attaching event listeners AND you don't care about old versions of IE then...

http://caniuse.com/queryselector

In a nut: querySelector[All] requires IE8, addEventListener requires IE9.

Re:JQuery now runs on every second website by johnbender on Monday August 13, 2012 @11:43AM (#4376405)
Just to be clear, jQuery's selector syntax supports many, many things that querySelector(All) does not.

http://api.jquery.com/category/selectors/jquery-selector-ext...

Re:JQuery now runs on every second website by HoLyVieR on Monday August 13, 2012 @12:16PM (#4376586)
It's not many things, if you look carefully you will realize most of what is listed can be rewritten with a CSS selector. For example ":button" is the same has "button, input[type='button']". They are mostly just shorthand and that's not extra feature.