Posts

Showing posts from July, 2021

Form with JavaScript Validation (File Name :- FormN)(File Type :- HTML)

Image
  <! DOCTYPE   HTML   PUBLIC   "-//W3C//DTD HTML 4.01 Transitional//EN" > < html > < head >     < title >Registration Form</ title >     < script >          function   validateform () {              var  fname  =  document.FormN.txtfname.value;              if  (fname  ==   ""   ||   false   ==   isNaN (fname)) {                  alert ( "Enter your First Name properly." );                 document.FormN.txtfname. focus ();         ...