Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 73
    jQuery is regular JavaScript. Commented Sep 9, 2010 at 13:48
  • 9
    Sometimes it is even better to use "plain" JavaScript constructs, e.g. if you want to access standard attributes of DOM elements. People that are new to jQuery tend to "overuse" it imo. jQuery is great, but it is just a tool that gives you some useful functions at hand. The question is not jQuery or JavaScript but JavaScript with or without the help of jQuery. Commented Sep 9, 2010 at 13:54
  • 1
    its not jquery's fault if people don't understand the language itself. Commented Jul 8, 2011 at 21:59
  • Browsers that support canvas also support standard event listening. This is your equivalent ready function in plain JS: document.addEventListener('DOMContentLoaded',draw); Commented Jan 14, 2014 at 21:32