This section we will see how jQuery works with the help of simple program. This tutorial will give you basic introduction to the jQuery and explain the concepts required to understand.
The jQuery library helps the developer to develop rich internet applications. This is one of the most used framework on the web. Its easy to learn and use language. Here is the highlights of jQuery:
The jQuery is designed to do more work in less coding. It's very easy to work with jQuery. It support all the serverside web application development technologies. You can use JSP,Servlets, Struts, Spring MVC, ASP, .NET, CGI, PHP, Perl etc. as server-side language and user jQuery to dynamically fetch data from the server.
So, jQuey is very useful tool. Let's see how it works and we can use it in programming.
Here is the code that will display alert message once Document Object Model is ready:
// Your code here...
Adding jQuery to a page:
The jQuery is distributed as js file. It can be downloaded from http://docs.jquery.com/Downloading_jQuery. Download jquery-1.4.2.min.js and then place in your project folder. To include in the html file use the following code:
// Your code here
Hello world alert box example(HelloAlert.html)
The following line includes the jQuery library into webpage:
In the next sections we will be understanding more about jQuery with the help of many examples
Learn from experts! Attend jQuery Training classes.
Liked it! Share this Tutorial