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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -