It's quite interesting, jQuery is actually built on top of JavaScript.
Personally, I leverage both technologies extensively for a wide range of front-end functionalities, such as:
- Implementing well-organized data grids with jqGrid
- Designing custom dialog boxes, buttons, and loaders using jQuery UI
- Effortlessly manipulating the DOM using jQuery selectors along with
val
, text
, html
, and more
- Simplifying communication with web services through jQuery AJAX
The list could go on endlessly :)
However, my usage of pure JavaScript is fairly limited. I typically resort to it only for tasks that jQuery doesn't already cater for, including:
- Working with string and array functions
- Handling conversions between integers and strings