Different ways to include jQuery in your website

jQuery is javascript frame work which simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

You can include jQuery in different ways. 

1.Download it from jQuery site and include it into your webpage

2.Include it from Google server




or

3.Include it from Jquery’s site 

These are the different methods to include jQuery. Each of them have there own advantages and disadvantages.

First one has better control. Because this is your server and if u needs to modify the code, you can. Other method depends on other server, so, it may break the connection if that server is down.

Second method is, including it from Googles server. In that first one supports https connection. Second one supports normal http connection. You can pass the jquery version depends upon your choice. If you want to update you need to include appropriate jquery versions.

Third method is including it directly from jQuery server. And it is linking directly to latest jQuery. So you need not bother about the jQuery updation.

Hope I have covered different methods include jQuery. What do you think? Is there any other method to include jQuery?

Tags: , ,

3 Responses to “Different ways to include jQuery in your website”

  1. Praveen Vijayan Says:
    May 31st, 2009 at 5:01 am

    useful post :)

  2. Jaison James Says:
    June 1st, 2009 at 9:04 am

    nice article. Keep informing us :)

  3. Kelly Brown Says:
    June 12th, 2009 at 11:39 pm

    Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting

Leave a Reply

You must be logged in to post a comment.