I do it this way <script language='javascript'> function confirmDuplication(type,ID) { var msg = "\n You are about to COPY\n\n"+ " **************************\n"+ "******** "+type+" ********\n" + " **************************\n\n"+ "FROM: "+ID+"\n\n" + " TO: Its Immediate Sub-Events\n\n" + "Are you sure that is what you intend to do?"
if (confirm(msg)) { window.location="../actions/act_ActionPage.cfm; } } </script> <A HREF="javascript:confirmDuplication('STUDENTS',#attributes.id#);">do this</A> David DiPietro Systems Developer / 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 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