jquery link to url code example
Example 1: jquery script url
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
Example 2: go to page jquery
<!DOCTYPE html>
<html>
<head>
<script>
function goToURL() {
location.href = 'http://google.it';
}
</script>
</head>
<body>
<a href="javascript:void(0)" onclick="goToURL(); return false;">Go To URL</a>
</body>
</html>