Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I think querySelector and querySelectorAll are simply more generic versions of the traditional approach of using getElementById and getElementsByTagName, but it's possible that the greater versatility of $ influenced the later design of querySelector, indeed. Then again, it was not a jab at jQuery, which proved to be a fantastic tool for a decade in the field of web development.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: