the jsp page containing form
function formValidation()
{
var fname= document.form1.first_nm;
<form name="form1" onsubmit="return formValidation()" method="post">
First Name:<input type="text" name="first_nm" /><br>
My jsp page:
index.jsp
The jsp page contains the form on using the onsubmit event it is not loadingthe extyernal js file. please help. I am not able to get where I am going wrong.
I am Assuming that your Jsp page is Something like this