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 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2003
    Location
    ireland
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    can u tell me about the yes no popup

    can anyone tell me how to get the yes cancel popup please



    thanks
    hello says narf
    and narf says hello

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    338
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The confirm() method. Here's an example:

    Code:
    if(confirm("May we eat?")) {
    alert("You may eat");
    } else {
    alert("You may not eat");
    }
    It returns true if the user clicked "OK," and false is the user clicked "Cancel."

    Hope that helps!

    Happy coding!

  • #3
    Regular Coder
    Join Date
    Feb 2003
    Posts
    638
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer

    vbscript: MsgBox Function | wScript: Popup Method
    hmm... ?


  •  

    Posting Permissions

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