Question: Q2. Write a JavaScript program to check a student number. Add a text control for input, a div for the output and a button. If
Q2. Write a JavaScript program to check a student number. Add a text control for input, a div for the output and a button. If input fits than "Valid", "invalid" otherwise must be displayed via the div. A total of 8 digits; First two digits should be 20,19,18 or 17. Second two digits must be 25,35,39 or 32. Last 4 digits should be between 0000 and 9999. St. No: 59269 Test Valid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
