Java JSF ile Javascript çağırmak. JSF With Call Javascript Function

Paylaş.

<script type="text/javascript">
        function handleKeyPress(){
     alert("merhaba JSF");
    }
    </script>

<h:commandButton id=”btnCancel” value=”Cancel”
      onclick="handleKeyPress();"  return false"/>
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)