The input validation happens when a change is done to one of the two text inputs (onChange event).

Posted by A sw A on Stack Overflow See other posts from Stack Overflow or by A sw A
Published on 2010-03-08T16:59:10Z Indexed on 2010/03/08 17:06 UTC
Read the original article Hit count: 184

Filed under:
|

Write a JavaScript that has two text input; one for name and one for phone number. It also has two buttons: Reset and Submit.

The name should be in the format: (LastName, FirstName, MiddleInitial.) The phone number should be in the format (ddd-ddd-dddd)

The input validation happens when a change is done to one of the two text inputs (onChange event).

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about homework