|
JavaScript Form Validation. One of the primary reasons JavaScript was assembled was to check whether the values entered into by readers were correct thereby bypassing the lengthy trip to a serverside program to do the check. Here we ll learn the methods used to validate form input using the onSubmit event handler.