What do you usually do with Javascript? I use it to validate form, creating drop down menu and was wondering if you guys use it for other purposes. After all, Jquery is better from my point of view......
I use javascript for improving the UI of a web page. For example, I use it to cache data locally which would otherwise require multiple calls to the web server.
I'm confused, jQuery is written in JavaScript.
Anyway, I use both for all sorts of functions on the front-end, including:
- Creating nice grids of data using jqGrid
- Creating themed dialog boxes, buttons, spinners, etc using jQuery UI
- Easily setting / retrieving values from the DOM using jQuery selectors and
val,text,html, etc... - Easily querying web services using jQuery AJAX
I could really just keep going on and on :)
But very little of this uses raw JavaScript. About all I use raw JavaScript for are those things that are not necessary for jQuery to provide, which usually boils down to:
- String and Array functions
- Integer / String conversions functions
jQuery is just a framework, written in JavaScript, to simplify and enhance the functionality of JavaScript.
What do you usually do with JavaScript? Whatever you need to do... I am getting more in-depth with jQuery and using it for building entire interfaces and controlling every little action.