nope i had missed that... thanks

 butttttt now it doesnt delete the record, im thinking i gotta add the 
selectedIndex to the submitform, right now i have tis

 <cfformitem type="script">
 function confirm(evt) {
 if (evt.detail == mx.controls.Alert.OK) {
 _root.submitForm();
 }
 } // confirm

 function doubleCheck(){
 alert("Are you sure you want to remove this record", "Warning",
 mx.controls.Alert.OK | mx.controls.Alert.CANCEL, confirm);
 } // doubleCheck
 </cfformitem>

~Dave the disruptor~
"Some people just don't appreciate how difficult it is to dispense wisdom and 
abuse at the same time." 

----------------------------------------
From: Paul Hastings <[EMAIL PROTECTED]>
Sent: Sunday, October 16, 2005 12:07 AM
To: CF-Talk <[email protected]>
Subject: Re: cfform alert box 

dave wrote:
> butttttttt, the code they have is about the same but it just pops another 
> alert up to say its deleted but of course its not and it still doesnt wait 
> for confirmation before submiting the form, I tried adding submitForm() in 
> place of the 2nd alert box but it still doesnt wait grrrrr

did you follow my example? is the "submit" button just a plain button?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221145
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to