Answers for "onclick go to url javascript"

2

onclick go to url

<input type=button onClick="opener.location='https://www.plus2net.com/'" value='Make the Main window change'>
<input type=button onClick="opener.location='https://www.plus2net.com/html_tutorial/button-linking.php'" value='Bring the button linking tutorial again'>
<input type=button onClick="location='https://www.plus2net.com/'" value='Make the current  window change'>
<input type=button onClick="self.close();" value="Close this window">
Posted by: Guest on January-28-2021
0

button navigate to page

<button onclick="window.location.href = 'index.html'"> Navigate </button>
<!-- Replace 'index.html' with the name of the page to navigate to, or a URL. -->
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language