jQuery script not working between script tags in HTML

I have a jQuery solution that works on other webs but it doesn't work on my website. It is situated between standard html script tags. Do you know what could be wrong ?
posted on 22.11.2020 at 13:47
0pnshow more
onefiveonefive
Hi,

Check if you have correctly included jQuery library in your code. It should be located before the jQuery script:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
alert('jQuery script works');
});
</script>

posted on 28.11.2020 at 12:35
0pnshow more
TimTim
share on facebookshare on twitter
2020 AnswerTabsTermsContact us
This site uses cookies to improve your experience, for analytics and ads. By continuing to browse this site you agree to our use of cookies.