This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
Agax src in HTML
I wonder if someone could help me understand the following bit of HTML:
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
Do you have to add this to your HTML document when you want jQuery UI interactions?
Answer 54d69b2d937676a9d6004191
0 votes
If you are trying to work with jQuery on your own machine, you will need that line, but you will also need a script element for the jQuery core above it. Both scripts need to be above your own script.js tag.
Also, since the localhost protocol is file:
, the schemeless protocol above will not resolve correctly. We need to include, https:
, as in,
https://ajax. ..
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency