Confirmation box for <s:submit name="ActionClass" ...>

Confirmation box for <s:submit name="ActionClass" ...>

Good morning,

From the link, http://plugins.jquery.com/project/confirmation I downloaded .css & js.

But could someone provide an example how to use confirmation box please?

Most of the google results show confirmation box for link "<a>", but I need it for <s:submit>.

A <s:submit> action, before calling the real method, popup a confirm box msg.


What I need is:
===================
<s:submit onclick="return jquery_method()" action="DeleteRecord"... >

When clicking the button, popup a dialog for confirmation.
. if "Yes", DeleteRecord action is called;
. if "No",   DeleteRecord action will not be called.




Thanks a lot!

--
Lu Ying

























    • Topic Participants

    • emilu