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 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



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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

Reply via email to