p:commandButton onclick 函数未在 Internet Explorer 中调用


<p:commandButton id="changepwd" value="Change Password" type="button"
  onclick="changepwdPanel.show()" update="dialog,messages" appendToBody="true" />

此按钮显示一个<p:dialog> 。它在Firefox和Chrome中运行良好,但在Internet Explorer中则不行。

这是如何造成的,我该如何解决?

尝试使用:

<f:facet name="first">
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
</f:facet>

<h:head>,我有类似的问题,它对我有用。

最新更新