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>
Also in JavaScript:
- javascript get current hour
- Error: node_modules/@angular/fire/database/interfaces.d.ts:2:10
- Convert from JSON to Python
- sequelize include only
- how to update value in nested json using id in javascript
- javascript check alpha and space only
- how to pass value from javascript to php using ajax
- jquery toggle show hide
- js split string every n characters
- js repeat
- how to create an html element in javascript without document
- js append en tête
- js is empty object
- js split string
- javascript get last element of array pull
- sortable order jquery
- concat keys json
- javascript extract date from string
- const{}=
- js fetch all elements of an array
- get last item in array javascript
- can filter be used on objects in javascript
- js fucntion return array
- check if anagram