Answers for "navigate to another page in jquery"

0

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>
Posted by: Guest on May-22-2020
6

jquery redirect to another webpage

$(location).attr('href', 'https://google.com');
Posted by: Guest on February-25-2020

Code answers related to "navigate to another page in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language