You are here: irt.org | FAQ | JavaScript | Link | Q38 [ previous next ]
Try:
<script language="JavaScript"><!-- function query(url) { if (confirm("Do ya really wanna go?")) { location.href = url; } return false; } //--></script> <a href="#" onClick="this.href='query(\'apage.htm\')'">go?</a>