Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

send answer as soon as possible as mention in q Design a JavaScript+Jquery application to read the PAN Number and Name of an Employee. If

image text in transcribed

send answer as soon as possible as mention in q

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 NoSuchElementException. 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_2

Step: 3

blur-text-image_3

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions