2 Replies Latest reply on Aug 10, 2006 7:00 AM by Newsgroup_User

    Javascript pop up confirm

    Level 7
      I would like to have my form be able to delete a database entry by clicking
      a button. Easy enough.
      However, I want to make sure that it isn't done by accident.
      Can someone point me to information on how to create a javascript pop up to
      confirm the action prior to it executing?

      If a member where to click the remove client button, I would like a
      JavaScript window to pop up and ask "Are you sure?"
      If the use clicks yes, it will run the REMOVE sql query on the page, if they
      click no, it will just close the window and nothing will happen.

      Thanks

      --
      Wally Kolcz
      Developer / Support