This will work
function checksure() {
 return confirm('Are you sure you want to DELETE the Page you selected? This
will also delete any SUB articles of this item!!');
}
 </script>

with the onsubmit="return checksure();"

confirm() returns a boolean true or false already, no need to recreate it.

jon
----- Original Message -----
From: "Rosa, Issac" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 5:32 PM
Subject: Slightly OT: Javascript Error - Confirmation Box


> I have the following javascript and form.  Can anyone see why I am not
> getting the confirm box?  No error messages, just processes the form
without
> the confirm.  Any help would be greatly appreciated.
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to