here ya go. it's all in the
my_bool_value = confirm("Are you sure you wish to continue?")
an example. remember, returning FALSE will stop forms submitting, links
navigating, etc
<a onclick="return confirmSubmit()"
href="delete.cfm?ID=#qSites.idSite#">
delete</a>
<script LANGUAGE="JavaScript">
<!--
{
var agree=confirm("Are you sure you wish to continue?");
if (agree)
return true ;
else
return false ;
}
// -->
</script>
-----Original Message-----
From: Jeeves [mailto:[EMAIL PROTECTED]
Sent: Monday, 16 June 2003 2:18 PM
To: CFAussie Mailing List
Subject: [cfaussie] Javascript Alert Box
SORRY I POSTED THIS IN THE WRONG FORUM
Because I'm not familia with Javascript right now. Can someone help me by
telling me how I may make an alert box "YES/NO" come up when I go to
delete a record. IE, if ya click no for it not to continue.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/