Jquery is basically this JavaScript library which makes your website awesome. You can pretty much create any cool effect you want with it and it’s super easy to access specific classes and Ids. For example say I wanted to make a div layer with class hiddenLayer fade in from being hidden slowly, all I would have to write is:
$(“.hiddenLayer”).fadeIn(“slow”);
The same goes for fadeOut() as well. It’s so useful, you can’t afford to not use jquery.
Another perfect use for jquery is Ajax communication whether your using php or asp anything. All you gotta do to POST some data to a php script called “script.php” using jquery Ajax and then put the output of the script in a div called “result” is this:
$(“result”).load(“script.php”,{username:’joebloggs’,password:’letmein’});
Yes that’s it!!! Forget the 10 lines of code creating XMLhttprequest objects, just use this.
Check out some of the other jquery snippets around the blog!