YES/NO Message box (urgent !)

Results 1 to 2 of 2

Thread: YES/NO Message box (urgent !)

  1. #1
    Nanjar Budiman Guest

    Default YES/NO Message box (urgent !)

    dear all,<BR>how to create message box with 2 buttons (YES/NO or OK/CANCEL).<BR>and how to response if I "click" YES or NO button.<BR><BR>thank&#039s

  2. #2
    Bruno Santos Guest

    Default RE: YES/NO Message box (urgent !)

    dear one,<BR>this is what you are looking for:<BR><BR>if(window.confirm(&#039hey, are you sure??&#039) == true)<BR>{<BR> alert(&#039OK button pressed!&#039);<BR>}<BR>else<BR>{<BR> alert(&#039Cancelled!&#039);<BR>};<BR><BR><BR>Brun o (

Posting Permissions

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