Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post

    the ok / cancel box

    I feel stupid, I forgot how to do the alert box that has the option of either ok or cancel. Please enlighten me.
    Kris Hubby
    kwhubby site

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    confirm("hi","hi");

  • #3
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    oh yah, oh yes, one more little question about that, whats the second parameter for? I can't figure that out
    Kris Hubby
    kwhubby site

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    yah I know about prompt, I just forgot about confirm, but thanks for the refresh of memory
    Last edited by kwhubby; 12-21-2002 at 06:43 AM.
    Kris Hubby
    kwhubby site


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •