Hello.
I am brand new to Jquery. This question should be quite simple.
I have copy and saved the Jquery "downloaded" file from the Jquery site, and saved it into "jquery.js".
I have put this file into a folder, and when I try to call it, using "x.html" which is also in that folder, nothing happens.
Any help? Thank you.
I have actually found a different way around my problem.
It is different than the book, which is this:
<head> <title>Hello jQuery world!</title>
<script type='text/javascript' src='jquery-1.4-min.js'></script>
<script type='text/javascript' src='script.js'></script>
</head>
I used this :
<script src="jquery.js"></script>
<script type="text/javascript">
I believe my problem was the fact that I didn't have a script.js file. And since I was trying to call something I didn't have, the scripts that I actually had weren't given the proper tags.
However, since I have your attention, if I did have a javascript file "script.js", I would use : <script type='text/javascript' src='script.js'></script> to call it, correct? I am assuming it would just put the file into the script tags, then run it.
By the Way, Thank you.
Bookmarks