Results 1 to 2 of 2

Thread: Cancel and OK

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    Cancel and OK

    JavaScript
    __________

    I use this code to show box contain (OK) button:
    alert("welcome");

    Is there any code to show Box contain (Ok) and (Cancel) buttons or (Yes) and (No) buttons ?

  2. #2
    Hyperactive Member bsw2112's Avatar
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    292
    You can try

    confirm("hello");


    this will give you a yes cancel message box

    hope it helps

    bsw2112

Posting Permissions

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



Click Here to Expand Forum to Full Width