...

View Full Version : the ok / cancel box



kwhubby
12-21-2002, 02: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, 02:44 AM
confirm("hi","hi");

kwhubby
12-21-2002, 02: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, 05: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, 07:31 AM
yah I know about prompt, I just forgot about confirm, but thanks for the refresh of memory



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum