Cofirmation Message Box

Results 1 to 2 of 2

Thread: Cofirmation Message Box

  1. #1
    Join Date
    Dec 1969

    Default Cofirmation Message Box

    I wrote a confirmation message box with JavaScript. When the message box appers it shows two button, Ok and Cancel. How do I change the caption of these button and make them read Yes and No.<BR><BR>And after the user click on Yes I want to take him to page1 and if he/she clicks No then I want to take him to page1. <BR><BR>Help!

  2. #2
    dsk Guest

    Default RE: Cofirmation Message Box

    the confirm() boxes evaluate to a boolean value.the box include both ok and cancel button<BR>e.g<BR>var reply=confirm("ok to continue")<BR><BR>using reply(variable) u can check the boolean value and pass them flow where ever u want<BR>seeu

Posting Permissions

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