Hi everybody,
i'm using
struts and writing a javascript function that shows a confirmation message before deleting an element from a collection select:
function deleteElem() {
action = confirm("Delete selected element?");
if (action == true) {
........
}
else return;
}
I don't know how to indicate the action to do in the "if" statement with Struts.
How does Struts handle the formName.submit() = 'doSomething' inside a javascript?
Thanks in advance,
David