Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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>
Comment

PREVIOUS NEXT
Code Example
Javascript :: validate Alphabet Letter javascript 
Javascript :: check if path is folder js 
Javascript :: random number javascript 
Javascript :: get html attribute value in js 
Javascript :: update nodejs 
Javascript :: .gitignore nodejs 
Javascript :: sort array by date moment 
Javascript :: giving height full in next image 
Javascript :: How to use font awewsome in react app 
Javascript :: select element by id js 
Javascript :: mouseover angular 6 
Javascript :: how to make a property important in javascript 
Javascript :: javascript find file extension from string 
Javascript :: jquery select on select 
Javascript :: regex match letters and special characters 
Javascript :: image source react native 
Javascript :: javascript median of array 
Javascript :: sort array of object js 
Javascript :: react bootstrap styles not working 
Javascript :: remove curly brackets from stringify javascript 
Javascript :: fontawsome icon size react element 
Javascript :: regex remove non numeric 
Javascript :: jquery datatable destroy and recreate 
Javascript :: jquery change font size 
Javascript :: js random id 
Javascript :: include node_modules from search vscode 
Javascript :: unable to resolve path to module eslint 
Javascript :: how to get all elements with same class in jquery 
Javascript :: datatable default sorting 
Javascript :: get actual time jquery 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =