Skip to main content

Posts

Showing posts from January, 2022

Design HTML form, accept student info from user. Using java Script validate - PHP

  Q. Design HTML form, accept student info from user. Using java Script validate - PHP:- a) Student Name should not be empty. b) Student Age must be between 1 to 20.   HTML:- <html> <head> <style> span {                 color: red;                 font-size: 15px;                 float: right; } </style> <script type="text/javascript" >                 function val_stud_name(inputfield,helptext)                  {                                 if(inputfield.value.length == 0)                                 {                   ...