Is this possible???

Results 1 to 2 of 2

Thread: Is this possible???

  1. #1
    Big Mac Guest

    Default Is this possible???

    Hi,<BR><BR>In JavaScript the alert() only gives a mesage box with an OK button. Is it possible, in JavaScript, to have a message box pop up with an OK and a Cancel button like in VB?? <BR><BR>Thanks

  2. #2
    Imar Spaanjaars Guest

    Default RE: Is this possible???

    Yes you can.<BR>Try this:<BR>if (confirm("Are you sure?"))<BR>{<BR> // do it because yes was clicked<BR>}<BR>else<BR>{<BR> // don&#039t do it because cancel was clicked<BR>}

Posting Permissions

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