Skip to content Skip to sidebar Skip to footer

Calling Javascript Function On Click Of Button In JSP

I have a javascript function in jsp page like this: function shutDownall(){ alert(document.forms[0].Name.value); var app_nm=document.forms[0].Name.value; alert(app_nm); do

Solution 1:

if you are using the script in separate page be sure that the script file is included in the head of the page , but if the script in the same page you have to put this script before that button.


Post a Comment for "Calling Javascript Function On Click Of Button In JSP"