JQUERY FILE IN ROOT FOLDER

Pravesh Singh

Total Post:101

Points:709
Posted by  Pravesh Singh
JQuery 
 1567  View(s)
Ratings:
Rate this:
Hi Guys,

I want use jQuery in my HTML application but i don't want to keep jQuery file in my application root folder, can it is possible?

Thanks
  1. Vijay Shukla

    Post:100

    Points:700
    Re: jQuery file in my root folder

    Hi pravesh

    You can include it from a CDN (Content Delivery Network).

    Both Google and Microsoft host jQuery.

    To use jQuery from Google or Microsoft, use one of the following:

    <head>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js">
    </script>
    </head>
    Above is Google CDN.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!