On Monday 29 July 2002 14:18, Stephan Goeldi wrote:
OK. It was suggested, that I need to use JavaScript to confirm the deletion of an object.
Umm... No. Why you should use this "JavaScript masturbation"? (sorry, this phrase is taken from ESR essays :) -- no offence. To make yet another one lynx-incompatible site which is *REQUIRED* JavaScript turned on? IMHO, it is much better to use a form in page from you want to delete something: <form action=confirmator method=post>. ...and a method "confirmator" with form you want to use for real delete...: <form action=deleteReally method=post> <input type=hidden value=<dtml-var id> <input type=submit value="Delete"> </form> <form action=index_html method=post> <input type=submit value="Cancel"> </form> ...and a method "deleteReally" where you delete your document forewer, which is actually delete method for any stuff you want and available only for valid users. Yes, user will load three pages, not two. Yes, user will wait for page, if page will be bloated by not needed graphics and banners. Yes, user can "back". But this WILL work on ANY browser what is main goal, I think... P.S. Surely, this example is a _way_, not an implementation! ;-) -- Sincerely yours, Bogdan M. Maryniuck Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the answer. (Taken from a .signature from someone from the UK, source unknown)