logo

New Response

« Return to the main article

You are replying to:

  1. Woops. Didn't realise I had missed that out.... I know what you mean. As a developer I would never have a "deletedocument" link on a page without a confirm. Silly me!

    What I usually do is add the following to the link itself in the onclick event:

    onclick="return confirm('Are you sure you want to delete this document?');"

    Jake -CodeStore

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: