Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JavaScript Short Answer 22 Create a function to validate a password entered by a user in a password box with id = pword that must

JavaScript

Short Answer

22 Create a function to validate a password entered by a user in a password box with id = "pword" that must contain exactly eight characters and must begin with a digit.

28 Create a function that will verify that a user enters a five-digit zip code into a textbox which has id = "zip".

30 Create a function that will verify the users entry of his city, state, and zip code. The entry should be of the format:

MyCity, 2-character_code_for_state 5-digit_zip_code

The address is entered in a textbox with id = "address".

The function should verify the following:

The city name is followed by a comma.

The state is two characters and both are uppercase.

The zip code consists of five digits.

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

Logidata+ Deductive Databases With Complex Objects Lncs 701

Authors: Paolo Atzeni

1st Edition

354056974X, 978-3540569749

More Books

Students also viewed these Databases questions