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# - Setting Server Bindings of IIS 6.0 Programmatically -

Python + DNS : Cannot get RRSIG records: No Answer -