Category: 3rd Semester
Web Programming Reference Notes || BIM Notes
Question paper Solution Pre- board Paper SYLLABUS YEAR2021 Syllabus Here HTML CSS Javascript Form Validation DOM & CSS
Continue ReadingForm Validation
<html> <head> <title>Form Validation</title> <script type=”text/javascript”> function main() { var name=document.F1.N.value; var age=document.F1.A.value; var male =document.getElementById(‘male’).checked; var female =document.getElementById(‘female’).checked; var password=document.F1.P.value; var confirm=document.F1.CP.value; var email=document.F1.email.value; var Gender=document.getElementsByName(‘G’); var a=checks(Gender); var Ho=document.getElementsByName(‘H’); var b=””, r=0; for(var i=0;i<Ho.length;i++) { if(Ho[i].checked) { b+=Ho[i].value + “\n\t”; r++; } } if(isEmpty(name)==false) { alert(“name should be filled”); } else if(checkAge(age)==false) { […]
Continue Reading