SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function VehiclegoToURL() { window.location =
"<@CGI><@APPFILE>?_function=addvehicle&_function1=nrform&<@USERREFERENCEARGU
MENT>"; }
//  End -->
</script>

<input type=button value="Add Vehicle" onClick="VehiclegoToURL()">

This creates a button and then sends it to the url in the function.  I use
it for multiple choice buttons in the same form.

Hutch


-----Original Message-----
From: Dan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 12:34 PM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: JavaScript Dialog with 3 buttons


Hi everyone,

A little question off topic, but it ain't the first time ;-)

I Need to have a confirmation dialog (form) with 3 buttons: Yes, No, Cancel.
JavaScript has a standard one, but there's only two buttons on it...
Any idea?

Dan

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to