Hi all,
Can anyone tell me why this doesn't work:
<input type="button" onclick="return confirm('Are you sure?'); window.location='http://www.google.com'" value="GOOGLE"/>
The first half works (i.e. the confirm box comes up), but when the user presses 'OK' nothing happens.
Your superior knowledge in this regards and kind help is most appreciated.



Reply With Quote

Bookmarks