Topic awaiting preservation: alert boxes... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 03-25-2002 22:21
when you create alert or confirmation boxes, it only gives you the option to click OK or CANCEL. is there any way to have this changed so that it displays "yes" and "no" ? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 03-25-2002 22:55 |
Maniac (V) Inmate From: Kanada |
posted 03-26-2002 03:27
vbscript instead of js http://www.javascriptkit.com/javatutors/vbalert3.shtml |
Maniac (V) Mad Scientist From: New California |
posted 03-26-2002 03:33
But be aware of what that page says, "It's important to note that VBScript is supported only by Internet Explorer." If you need a cross-browser solution, then VBScript ain't it. |
Maniac (V) Inmate From: Kanada |
posted 03-26-2002 04:19
Good point but if you read the text further down you'll read this: quote:
|
Maniac (V) Mad Scientist From: New California |
posted 03-26-2002 04:34
DOH!!! Right you are, sorry. If the truth be known, I'm not a big fan of VBScript and admit to being biased. |
Maniac (V) Inmate From: Kanada |
posted 03-26-2002 04:38
Not a problem..actually i'm looking at the script now... figuring out why the combo is required in IE but not in NS! |
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 03-27-2002 18:26
cool, thanks! |