ok & cancel dialog

Results 1 to 2 of 2

Thread: ok & cancel dialog

  1. #1
    Join Date
    Dec 1969

    Default ok & cancel dialog

    I cannot figure this one out... I need to have a alert pop up with ok and cancel buttons... if the user says ok then it redirects to another page (in the same window!) and nothing if cancel.<BR>Please help :)<BR>Ralph

  2. #2
    Join Date
    Dec 1969

    Default RE: ok & cancel dialog

    if (confirm("What do you want to do"))<BR> location.href("somepage.htm");

Posting Permissions

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