How can I execute Javascript before a JSF <h:commandLink> action is performed? -
this question has answer here:
- confirmation on submit 1 answer
if have jsf <h:commandlink>
(which uses onclick
event of <a>
submit current form), how execute javascript (such asking delete confirmation) prior action being performed?
can simplified this
onclick="return confirm('are sure?');"
Comments
Post a Comment