Need help linking jQuery to my html/javascript

html
jquery
workspace

#1

https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
https://code.jquery.com/ui/1.9.2/jquery-ui.js

these are my links, but my jquery still doesnt work. I made sure i called the jquery before my script.
it says $ is not defined and html modifying doesnt work. help please?


#2

Can you show your JQuery code?


#4

Forget that, how do you call the JavaScript files in HTML.


#5
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>

I know these issues will come up if i call the script before calling jquery, but i made sure to call the libraries before calling my script


#6

Sorry for the super late reply, I was not active for some time.

<script type="text/javascript" src="(...).js"></script>

This is how I do it, everything works for me.