
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Setup jQuery on My Web Server
To run jQuery on your web pages, add the library file within a pair of <script> tags. The location of the jQuery library file is added under the <script> tags, which point to the location of the jQuery library file on the Web server. Here’s an example,
<script src="jquery/jquery-3.2.1.min.js"></script>
The location of the jQuery file on the web server should be the same as what you added in the script tags. Even if you don’t want to go for the hassles in setting up jQuery, then go for CDN. With Google CDN, it will be an easier way to include jQuery without any need of about uploading it on the web server.
Here’s how to add jQuery using Google CDN:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
Advertisements