Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

2. How will the team select a leader?

Answered: 1 week ago