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.
This is working