Hacker News new | past | comments | ask | show | jobs | submit login

Or even better, if you're only selecting one DOM element that doesn't need the jQuery wrapper, then don't use jQuery for that one case. There's nothing that prevents doing that even if jQuery is being used for other elements in the project.

Just because jQuery is loaded doesn't mean you have to use it for everything on the page.




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

Search: