1<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
2<script src="path-para-seu-script"></script>
1<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
2
1<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
1You should put the references to the jquery scripts first.
2<script src="jquery-3.5.1.js"></script>
3<script type="text/javascript" src="script.js"></script>
1jQuery must be loaded first before your script.
2
3example:
4<script src="path/to/jquery.js"></script> <!-- or using CDN is up to you -->
5<script type="text/javascript">
6 // your script here...
7</script>
1<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>