when clicked the button doesn't run the javascript.
HTML
<li><input type = "submit" onsubmit = "RegisVal()" name = "btnsend" value = "Submit"/> </li>
when clicked the button doesn't run the javascript.
HTML
<li><input type = "submit" onsubmit = "RegisVal()" name = "btnsend" value = "Submit"/> </li>