javaScript (simple)

2002-04-26 Thread Deborah Curley
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

RE: javaScript (simple)

2002-04-26 Thread Adrian Lynch
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

RE: javaScript (simple)

2002-04-26 Thread Stephen Galligan
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

RE: javaScript (simple)

2002-04-26 Thread Neil Clark - =TMM=
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

Re: javaScript (simple)

2002-04-26 Thread nagraj
: 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

RE: javaScript (simple)

2002-04-26 Thread Adrian Lynch
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

RE: javaScript (simple)

2002-04-26 Thread mynews
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

RE: javaScript (simple)

2002-04-26 Thread David DiPietro
/ 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