6
Reply

How to include jquery in our project?

Manju lata Yadav

Manju lata Yadav

10y
2.7k
0
Reply

    You can include the script file directly in your page/master page, etc using:

    Paste this on your html page then u can use jquery in your html.

    Paste this on your html page then u can use jquery in your html.

    You can include the script file directly in your page/master page, etc using:

    There are two ways to include jQuery in our project: 1. Online Mode: We can add jQuery into our project directly by using a CDN such as Google, Microsoft. 2. Offline Mode: We can download the jQuery library from the CDN and then include it in our project. Note: CDN is Content Delivery Network and it host the jQuery libraries online. Most popular CDNs are Google, Microsoft. If is always a good practice to use the CDN hosted jQuery in project instead of the offline one.

    There are two versions of jquery :- 1.Production Version:-This version is for your live website, because it has been minified and compressed to take up the least amount of space and time. 2.Development Version:-This version is for testing and development. 3. Both Google and Microsoft host several different versions of jQuery and other JavaScript frameworks. It saves you from having to download and store the jQuery framework