[thelist] JavaScript Question - Alert box with two choices?

Warden, Matt mwarden at odyssey-design.com
Tue May 29 16:05:45 CDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually, it seems like he's making a management application. Because
of this, he *might* have some control over what browsers use the
page. If your company uses MSIE, you can use VBScript to tailor what
the buttons say and the number of buttons using the MsgBox(...)
function. See http://msdn.microsoft.com/scripting

Good luck,

- --
mattwarden
mattwarden.com


> From: "Scott Dexter" <sgd at ti3.com>
> Subject: RE: [thelist] JavaScript Question - Alert box with two
> choices?  
> 

> if (confirm("Are you sure?")) { // returns true on "ok" } else
> {//returns false on "cancel"}
> 
> --unfortunately, you don't have control over what the buttons
> say...  
> 
> 
> sgd
> 
> > -----Original Message-----
> > From: Chris Johnston [mailto:chris at completeimaging.com]
> > 
> > I am looking for little JavaScript that will pop up an alert 
> > box and give
> > the user two choices - yes or no. The purpose for this is to go
> > on a 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOxQPZ3gH0dUmEhrcEQKPXwCfchyIDdvuxZh+gqUj83G2ICOp5O4An2LY
xGWqjpbTHDpSEjZGNBdLqewP
=hMfq
-----END PGP SIGNATURE-----






More information about the thelist mailing list