Results 1 to 2 of 2

Thread: alerts

  1. #1
    kirang75 Guest

    Default alerts

    I need to throw an alert with a message and two options buttons (yes & no). If they press yes, it has to go one asp page and if it is no, it has to go another asp page. Could you please tell me how can I write this in JScript.<BR><BR>Thanks in advance<BR>Kiran

  2. #2
    Join Date
    Dec 1969

    Default RE: alerts

    confirm()<BR><BR>if(confirm(&#039;question&#039;)) {<BR>//redirect first page (OK)<BR>} else {<BR>// redirect second page (cancel)<BR>}<BR><BR>j<BR><BR><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