right? Which would require you to 'call an external file'.
You should really incorporate both the _javascript_ confirm and the handler
for when they click 'OK'. Take a look at the page below (view source) to
see what I am talking about.
http://www.cvwp.com/test/form.html
That help?
Ray
At 11:06 AM 9/14/2004, you wrote:
>Pascal,
> What does the button look like with this example? I finally got to this
> to work by calling an external file if the user pressed 'OK', but this is
> really ugly and really not an exceptable approach.
>
>What you suggest is exactly what I want to happen. If they hit cancel,
>then nothing happens at all.
>
>I tried to do something like this, which didn't work
>
><INPUT TYPE="image" NAME="delete" SRC=""
>ALT="Delete Presentation" you really want to delete
>this presentation??");">
>
>
>
> >A JS variable is not passed when you post the form. You can use a hidden
> >form field. But easier is to just do the whole thing in JS and don't
> >post if the user clicks cancel:
> >
> >function delete_presentation()
> >{
> >return confirm("Do you really want to delete this
> >presentation??");
> >}
> >
> >Pascal
> >
> >> -----Original Message-----
> >> From: Brett Barnhart [mailto:[EMAIL PROTECTED]
> >> Sent: 13 September 2004 18:15
> >> To: CF-Talk
> >> Subject: Incorporating _javascript_ to confirm into a document...
> >>
> >> I've been working on this all morning and I am missing something. I
> >have a
> >this
> >>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

