I’m using this on a delete button on the web.
if (confirm(“Delete this document?”)) {
window.location.search='DeleteDocument'
}
It does not work if the URL contains !OpenDocument instead of ?OpenDocument
Anybody know how to resolve this?
I’m using this on a delete button on the web.
if (confirm(“Delete this document?”)) {
window.location.search='DeleteDocument'
}
It does not work if the URL contains !OpenDocument instead of ?OpenDocument
Anybody know how to resolve this?
Subject: DeleteDocument javascript not working?
using javascript you could get the url of the document, cut off the part after the “!”, add a “DeleteDocument” and call the url.