I am trying to validate my html form using javascript. It is validating properly. after validation I am calling servlet page on that basis of that html page. My problem is, it is showing alert message is there is any field is missing and calling servlet page too with error. I want to be on html page if there is any field is missing. Can any one help me? Please find my code as follow:
[Edit: the code that was originally here has been removed by the author.]
It showing message corresponding missing filed. and after clicking on ok button it execute servlet. I want it should be on same html page focusing that missing filed.