How can I execute Javascript before a JSF <h:commandLink> action is performed? -


this question has answer here:

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

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -