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> <title>test</title> </head> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function checkdelete() { if (confirm("Are You sure to Perform Delete or not")) { alert("Yes Go for Deleting to the next form"); document.frm.submit(); } } //--> </SCRIPT> <body> <form NAME="frm" ACTION="test.html" METHOD="post"> <input type="text" name="one" value=""> <input type="button" name="Del" value="Delete" onClick="javascript:checkdelete()"> </FORM> </body> </html> Regards Nagaraj.A ----- Original Message ----- From: "Deborah Curley" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: 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 you. > > TIA, > Deb > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists