News for hackers. Stuff that matters.
Re:Native Javascript alternatives to jQuery methods by thrownaway954 on Sunday March 31, 2019 @11:08AM (#19535952)
Yep and that 2.1 CSS Get style example is EXACTLY why I use jQuery

https://github.com/nefe/You-Dont-Need-jQuery#2.1

I don't want to have to figure out that there is a "known bug and will return 'auto' if style value is 'auto'". jQuery takes care of that crap for me.

Say what you want about jQuery, but it just works.

Re:Native Javascript alternatives to jQuery methods by wolco on Sunday March 31, 2019 @11:16AM (#19535998)
Plus it looks cleaner and easier to extend in the future.