>e.g. <FORM ACTION="doStuff" METHOD="POST" onSubmit="confirm('Do you
>*really* want to do that?')">
>If the user hits "OK", the form will be submitted. If they hit "Cancel",
>the browser will not submit the form.
Hmmm. This is fine. But the document gets deleted anyway.
It happens in DocumentLibrary's document_edit method.
Anyway, thank you very much for this simple solution.