onclick not calling function code example
Example: button is not calling js function
<script type="text/javascript">
function submitFunction() {
alert("example");
}
</script>
<script type="text/javascript">
function submitFunction() {
alert("example");
}
</script>