View Full Version : the ok / cancel box
kwhubby
12-21-2002, 01:43 AM
I feel stupid, I forgot how to do the alert box that has the option of either ok or cancel. Please enlighten me.
chrismiceli
12-21-2002, 01:44 AM
confirm("hi","hi");
kwhubby
12-21-2002, 01:57 AM
oh yah, oh yes, one more little question about that, whats the second parameter for? I can't figure that out
chrismiceli
12-21-2002, 04:44 AM
wait, i was thinking of prompt("hi", "hi"); for confirm it is just
confirm("hi");
sorry, try that.
BTW the other parameter in prompt is for the user's input.
kwhubby
12-21-2002, 06:31 AM
yah I know about prompt, I just forgot about confirm, but thanks for the refresh of memory
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.