S
Spidah
Hi folks
Can somebody help with a problem I am having with onclick events.
If I set up a link link this:
<a href="#" onclick="if(confirm('Do you wish to
proceed?')){location.href='continue.html';}">continue</a>
The onclick works fine on my windows machine, but if the link is clicked on
a macintosh nothing happens after the message box that appears is clicked..
The message box closes and the script goes no further.
Does anyone know how to make this work on both machines? I don't want to
have to switch to using forms and buttons.
Thanks
Hamilton
Can somebody help with a problem I am having with onclick events.
If I set up a link link this:
<a href="#" onclick="if(confirm('Do you wish to
proceed?')){location.href='continue.html';}">continue</a>
The onclick works fine on my windows machine, but if the link is clicked on
a macintosh nothing happens after the message box that appears is clicked..
The message box closes and the script goes no further.
Does anyone know how to make this work on both machines? I don't want to
have to switch to using forms and buttons.
Thanks
Hamilton