hi,
i have this code:
basically when they click on the link (agency), i want to pop a message to confirm that they agree with the terms of use, with ok and cancel. if they press ok, to go to admissionssummary.asp.
thanks for any ideas.
i have this code:
Code:
<SCRIPT language="JavaScript">
<!--
function go_there()
{
var where_to= confirm("Do you really want to go to this page??");
if (where_to== true)
{
window.location="admissionssummary.asp"; (this is in the href below)
}
else
{
window.location="the_cancel_page";
}
}
//-->
</SCRIPT>
<a href="admissionssummary.asp?agency=<%Response.Write objSearch("agency")%>" onClick="go_there()"> </a>
thanks for any ideas.