Jquery : Benefits, Examples and Free Ebook


What is jQuery?

Directly taken from the website of jQuery -” jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages”.It is basically a JavaScript framework for writing huge task of JavaScript with few lines of code.

What are the benefits of jQuery?

1) 5 lines of code of jQuery can perform better task than 25 lines of traditional Javascript code.
2) Various number of plugins are available and a large community support this project it is better to use jQuery in your project compared to other JavaScript frameworks like prototype.js or moottools .
3) jQuery’s website contains very good documentation with useful examples.
4) It simplifies the Ajax Development. Just have to write 5 or 6 lines to call the Ajax. Isn’t that easy??

Well these are just few benefits of jQuery but if you start using jQuery then you’ll come to know about the actual benefits of using jQuery. And believe me, It worth using jQuery in your web applications otherwise just blame me.

Basic Examples of jQuery :

    $(".button").click(function ()

In the above example, when a element with class “button” is clicked, all the paragraph element (“p”) will be hidden in the whole document in slow movement i.e. with slight animation.


Above is the example Ajax using jQuery, look how simple it is to use ajax using jquery.The response got from the sample.php file is filled inside the element whose id is “divid”.

Free Ebook for download :

Well I’ve downloaded a E-book of jQuery in chm format.It contains chm version of the document found in docs.jquery.com. This E-book contains the very good documentation as well as useful examples.

You can download the Ebook by clicking here.

Enter your email address and get free tutorials, tips and tricks of PHP, Ajax, JavaScript and CSS directly delivered to you email inbox:

31 Comments on “Jquery : Benefits, Examples and Free Ebook”

  • Gabe wrote on 13 March, 2008, 12:33

    I use jQuery exclusively on personal projects and at my “day job” for all the reasons you’ve listed. Additionally: the jQuery community is great! With so many plugins available, I haven’t thought of anything I couldn’t accomplish using this great library. The documentation is also very thorough, I bookmark http://docs.jquery.com/Main_Page on every computer I work on. I’ve tried some of the other libraries, but none seem to combine the ease-of-use and small footprint of jQuery.

  • Gabe wrote on 13 March, 2008, 12:39

    Sorry to just re-iterate 2 of your main benefits of using jQuery, I just really meant to emphasize how helpful the community and documentation are. Thanks for the link to the eBook!

  • Roshan wrote on 13 March, 2008, 15:38

    ya Gabe We really have to thanks John Resig(http://ejohn.org) for the such a wonder JavaS cript library. He’s genius.I have a dream of meeting him in my life and let’s see if that will be fulfilled or not.

  • Nava Raj wrote on 8 April, 2008, 9:24

    Hello Roshan Ji

    I like you blog very much. It contains much about PHP, AJAX and jQuery.

    I am interested in downloading the ebook of jQuery but it says that the file is corrupt?

    Could you please attach one in my email?

  • Roshan wrote on 8 April, 2008, 11:05

    Thanks for letting me know about this…..I’ve uploaded the new file to the server and It is not corrupted at all now….you can download it without any trouble…

  • Senthil wrote on 17 June, 2008, 6:40

    Hi Roshan,

    Thanks for your good article. Here after i will implement jQuery in my project. Can u post more tutorial with good examples.
    I hope u reply soon.

  • Roshan wrote on 17 June, 2008, 16:51

    Hi senthil…can you post some example of tutorial..which you would like to post in this blog…

  • guest1 wrote on 2 July, 2008, 15:34

    Also try jQuery UI, documentation is available in chm format in googlecode bundled with the main doc. google for it.

  • Sunil Manandhar wrote on 28 December, 2008, 1:45

    Hi Roshan,
    I like your blog,i found a very important materials for learning jquery, ajax, php.Keep it up man.
    I am new to jquery would you please send me the basic tutorials in my mail.

  • Krunal Shah wrote on 4 April, 2009, 13:02

    Hi Roshan…

    I want to learn jQuery starting from scratch…

    Please let me know where to start

    Waiting for your favorable reply

  • Daniel wrote on 6 April, 2009, 7:53

    Exelent article.
    Can you one day post a tutorial on how to build this form with all the features, like span, cookies, validation…?


  • Webdev wrote on 26 April, 2009, 15:31

    Strong points on side of jQuery. As two major benefits I’d like to complete the list of yours with:
    ability to handle chains of actions and,
    the fact that checking for NULL elements is unnecessary (however if using prototype you must ensure not to invoke methods on NULL objects).

  • anil wrote on 31 May, 2009, 5:54

    Thanks bro for the ebook.

  • Andy B wrote on 2 September, 2009, 17:14

    Hi cheers for the Ebook, are there any downsides to using Jquery against javascript then? That might be a bit of a daft question but I am more of a mortgage broker than web designer. I have used one of Janko’s Jquery scripts for expanding/hiding table rows which doesn’t work in IE8 and hopefully the Ebook will enlighten me on how to make it browser specific (unless anyone already knows this? or can I use show and hide functions in all versions of IE, Im getting no answers off his blog!) thanks.

  • shumanru wrote on 6 October, 2009, 14:31

    Great ebook.

  • Diwakar(PHP My SQL Developer) wrote on 26 March, 2010, 9:16

    My words will be very short to tell about benefit about Jquery.
    What we invested to think for making our client side interacive
    is already availabe in Jquery Library. It is a very faithful friend.

  • bubba gump wrote on 7 April, 2010, 20:23

    This line: “2) Various number of plugins are available and a large community support this project it is better to use jQuery in your project compared to other JavaScript frameworks like prototype.js or moottools .” Was not very well supported. Why is it better? prototype.js and moo are both very viable, and prototype is conceivably better written (subjective I suppose). i think jQuery is simply EASIER to use, but “better” requires some backup. I’d like to know why you think that. I know why I think it.

  • ravi wrote on 22 April, 2010, 11:25

    How to achieve viewstate concept in jquery and php combination, please any one help me out, in
    the forum, out getting any idea.

  • ravi wrote on 22 April, 2010, 11:33

    In page1, search panel is there, which is a expand and collapse jquery menu, expand the menu in the search panel a calendar control is present to select the date, and on submit, the page will refresh, at that time the menu is collapsing, how to acheive the previous state, which is a expanded menu, for date picking, ie, [view state concept]

  • Prakash wrote on 28 May, 2010, 9:46

    Good article

  • Musta wrote on 27 June, 2010, 18:20

    I do really like this library, so far I have used it for Dom manipulation and applying effects. I have also heard that it is very powerful to interact with server aplications. Would somone recomend me a good book that explains the use of Jquery for ajax?
    Thanks a lot

  • g wrote on 17 August, 2010, 11:55


    nice info brother!

    thanks a lot!
    god bless u… :D

  • HeroNote wrote on 16 February, 2011, 2:11

    Free jQuery 1.5 & jQuery UI eBook:


  • Vikram wrote on 21 February, 2011, 17:24

    Thanks. very useful for me :)

  • HeroNOte wrote on 3 March, 2011, 1:14

    Free jQuery & jQuery UI eBook:


    Real-time tracking updates!


  1. AJAX coding school » Blog Archive » AJAX Examples [2008-03-13 11:20:57]
  2. Solving European characters (Western charset) problem with Ajax and PHP
  3. BrettVeenstra.com » Gotcha of inline Document Ready function for JQuery
  4. jQuery - Simple & Powerful « Gullele’s Corner
  5. pligg.com
  6. Gotcha of inline Document Ready function for JQuery - Journeyman to Master

Write a Comment


Copyright © 2015 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.