Menu
I’ve got a button.
When the button is clicked, I want to go to a specific page.
So far I have:
[CODE]function goBack()
{
window.open(‘http://www.google.com’);
}
And:
[CODE]<input type=”button” class=”clickexecute” value=”Return” onclick=”goBack()”>
Works OK: apart from the fact it opens in a new window!
How do I create a link on a button as described above and make it stay in the same window.
NOTE: I don’t want to use a form. I know how to do it using a form.
Thanks.
OM