Deleted member 219079
D
Deleted member 219079
Posting here because I didn't find "Web Development" forum in hive. (Why?
)
Before you go "omgfomgomodfmsodfmsd use google bitch wtf y no google u noob get rekt lol wtf!!" I've tried, those solutions seem not to work.
So I have:
In my html file, script.js being my own file, somehow I can't use jQuery functions in my script.js file.
I googled more about it, I came up with this:
That makes my Dreamweaver show warning, I've no idea.
So can anyone who's experienced in using jQuery how to use it in your .js files, possibly even link a good jQuery tutorial? Thank you for reading.
Before you go "omgfomgomodfmsodfmsd use google bitch wtf y no google u noob get rekt lol wtf!!" I've tried, those solutions seem not to work.
So I have:
HTML:
<script src="jquery-2.1.1.min.js"></script>
<script src="script.js"></script>
I googled more about it, I came up with this:
HTML:
(function(){var s=document.createElement('script');s.setAttribute('src','https://code.jquery.com/jquery-2.1.1.min.js');s.setAttribute('type','text/javascript');document.getElementsByTagName('head')[0].appendChild(s);jQuery.noConflict();})();
So can anyone who's experienced in using jQuery how to use it in your .js files, possibly even link a good jQuery tutorial? Thank you for reading.