Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library doesn't work if the protocol is not specified. #4130

Closed
VladislavLisovenko opened this issue Jul 18, 2018 · 2 comments
Closed

Library doesn't work if the protocol is not specified. #4130

VladislavLisovenko opened this issue Jul 18, 2018 · 2 comments

Comments

@VladislavLisovenko
Copy link

Wrong:

<script src="code.jquery.com/jquery-1.12.4.js"></script> <script src="code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

Right:

<script src="**http://**code.jquery.com/jquery-1.12.4.js"></script> <script src=**http://**code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

Tried with Firefox (61) and Microsoft Edge (42).

@toderesa97
Copy link

toderesa97 commented Jul 18, 2018

I guess it is because your browser tries to find the file in your computer. I guess it is trying to look for a folder called code.jquery.com within your current working directory and it does not exist.

Tomás.

@mgol
Copy link
Member

mgol commented Jul 18, 2018

This works correctly. Please look for programming help on Stack Overflow.

@mgol mgol closed this as completed Jul 18, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants