Jquery : Benefits, Examples and Free Ebook

Posted on March 13, 2008 
Filed Under ajax, javascript, jquery

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 :

$(document).ready(function()
{
    $(".button").click(function ()
    {
      $("p").hide("slow");
    });
});

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.

$(document).ready(function()
{
      $("#divid").load("sample.php");
});

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.

Popularity: 15% [?]

If you like this post then please subscribe to my full RSS feed . You can also subscribe by email and have new posts sent directly to your inbox.And, You can also follow me on twitter at http://twitter.com/roshanbh.

Related Posts

» Freeiconsdownloads.com : Free high quality Icons
» Get the IT magazines, journals and white paper at free of cost
» Display different color in alternate row using jquery
» Which is the best JavaScript and Ajax Framework ?

Comments

9 Responses to “Jquery : Benefits, Examples and Free Ebook”

  1. Gabe on March 13th, 2008 12:33 pm

    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.

  2. Gabe on March 13th, 2008 12:39 pm

    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!

  3. Roshan on March 13th, 2008 3:38 pm

    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.

  4. AJAX coding school » Blog Archive » AJAX Examples [2008-03-13 11:20:57] on March 15th, 2008 4:55 am

    [...] Jquery : Benefits, Examples and Free E-book By Roshan 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”. … Roshan Bhattarai’s Blog - PHP… - http://roshanbh.com.np [...]

  5. Nava Raj on April 8th, 2008 9:24 am

    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?

  6. Roshan on April 8th, 2008 11:05 am

    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…

  7. Senthil on June 17th, 2008 6:40 am

    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.

  8. Roshan on June 17th, 2008 4:51 pm

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

  9. guest1 on July 2nd, 2008 3:34 pm

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

Leave a Reply