This article is a brief about some of things I tried out while playing around with JQuery when I started learning it.JQuery is nothing but Javascript. As it is said here: http://jquery.com/ "write less,do more". Rather than using multiple lines of javascript code, JQuery reduces the code size to a great extent and makes accessing and operating on the HTML elements easy. It also provides a whole lot of functions to make the user interface appealing and adding animations and effects with ease.The JQuery file is stored with the extension ".js", similar to the javascript file.Getting started: Before writing JQuery code in your HTML file, the reference to the JQuery library must be added. So, open a simple notepad file, write <html> <head> tags etc to make a basic HTML page you can test your code on.There are two ways to refer JQuery library
Here, $(document).ready(function(){ // Write the javascript/jquery code to be executed on load
});
and
$("#paragraph1").hide(); : Hides the paragraph1 when the page loadsThere are a lot of permutations and combinations to access the HTML elements from JQuery which would be discussed in the next article.Till then. Happy Coding.