Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls send as soon as possible Design a JavaScript+Jquery application to read the PAN Number and Name of an Employee. If the PAN Number does

image text in transcribed

pls send as soon as possible

Design a JavaScript+Jquery application to read the PAN Number and Name of an Employee. If the PAN Number does not contain exactly 10 characters and if the Name of the Employee is empty, throw an IllegalArgumentException. If the PAN Number contains any character other than digits and alphabets(Vice versa) throw a No SuchElementException. Considering the PAN number starts with 0 to 9 position check for oth to 4th (including 4th position) to be alphabets, check for 5th to 8th position (including 5th &8th position) of the PAN Number to be digit again 9th position must be alphabet and also 4th position of the PAN Number should be the First Letter of the employee's Name. If all the cases are valid for PAN Number print the message 'valid else 'invalid' Change the color of exception messages using JQuery

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions