Hi all,
Anyone have the code readily available for an OnClick action to make sure a
customer wants to delete the record (i.e., click the delete button, get
prompted for whether you really want to delete and don't do the action
unless you.
TIA,
Deb
alert(You sure matey??)
:O)
-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:16
To: CF-Talk
Subject: javaScript (simple)
Hi all,
Anyone have the code readily available for an OnClick action to make sure a
customer wants to delete the record
Try this
INPUT TYPE=button VALUE=Delete Record onClick=return confirm('Are you
sure you want to delete this record?')
Regards
Stephen
-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:16
To: CF-Talk
Subject: javaScript (simple)
Hi all,
Anyone
var conf = confirm('you sure?');
should do it... well it will give an OK and Cancel option, you will then
to have to check if it was OK or cancel
by if(conf)
HTH
Neil
__
This list and all House of Fusion resources hosted by
: Friday, April 26, 2002 4:45 PM
Subject: javaScript (simple)
Hi all,
Anyone have the code readily available for an OnClick action to make sure
a
customer wants to delete the record (i.e., click the delete button, get
prompted for whether you really want to delete and don't do the action
unless
http://www.shiningstar.net/articles/articles/javascript/confirmsubmit.asp?ID
=ROLLA
-Original Message-
From: nagraj [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:52
To: CF-Talk
Subject: Re: javaScript (simple)
Hi Deborah Curley,
Try this out.
html
head
titletest/title
/head
This is what I use:
script
!--
//delete confirmation
function deleterecord(recordID)
{
if(confirm(This will delete this record. Are you sure you want
to continue?))
{
document.location=delete_recordss.cfm?recordID=+recordID;
return true;
}
else
{
return false;
}
}
//--
/script
and in the
/ Engineer
OSU College of Medicine Public Health
Voice (614) 292-5960
Fax (614) 292-0745
-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 7:16 AM
To: CF-Talk
Subject: javaScript (simple)
Hi all,
Anyone have the code readily available
8 matches
Mail list logo