JSF CommandButton onclick does not call Javascript function

后端 未结 3 1477
我寻月下人不归
我寻月下人不归 2021-01-12 19:16

I am using a command button from JSF. I don\'t know why I can\'t call my javascript function. NO alert will show when I click the button.



        
3条回答
  •  悲&欢浪女
    2021-01-12 19:57

    Give s in lowercase in type="submit", The type attribute sets the type of button to create for this component. The valid values for this attribute are "submit" and "reset". The default value for this attribute is "submit".

提交回复
热议问题