I've included jQuery in my page in head tag:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
But Chrome says that code which uses jQuery is incorrect and I see the error "$ is not defined":
$(".product").on('click', function() {
var cv = $(this).attr("id");
$.get("cvs/cv"+cv+".html", function(text){
$(".about").html(text);
});
});
But this code works in Mozilla Firefox. What's wrong?