Information, experience and learning of Steven Pothoven -- usually technology related.
how do i code the jsp file and make changes according to your java script functionality......
send me how to use that formValidation.js file help me
tell me how to use the formValidation.js file in my jsp file
Just make sure the HTML that your JSP is returning contains the code:<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script><script src="javascript/formValidation.js"></script><script> var vf = new FormValidation(); vf.addValidationForField("date", "date", "date");</script>where the vf.addValidationForField function is repeated as necessary for each field in your form.
Post a Comment
4 comments:
how do i code the jsp file and make changes according to your java script functionality......
send me how to use that formValidation.js file help me
tell me how to use the formValidation.js file in my jsp file
Just make sure the HTML that your JSP is returning contains the code:
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js
"></script>
<script src="javascript/formValidation.js"></script>
<script>
var vf = new FormValidation();
vf.addValidationForField("date", "date", "date");
</script>
where the vf.addValidationForField function is repeated as necessary for each field in your form.
Post a Comment