Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Jquery. i have a form that asks for two addresses input. I am validating on the backend through ajax call. The ajax call is in

Jquery. i have a form that asks for two addresses input. I am validating on the backend through ajax call. The ajax call is in my function called AddressValidate(). As soon as I try to do two. I am not sure what I am doing wrong.

$(".validate_csz).on("change",ValidateAdress)

$(".validate_csz-second).on("change",ValidateAdress)

Address A

Street

city class=:"validate_csz"

state class=:"validate_csz"

zip class=:"validate_csz"

Address B

street

city class=:"validate_csz-second"

state class=:"validate_csz-second"

zip class=:"validate_csz-second"

ValidateAdress(){

var inputs = this;

validate_city = input[0].value

validate_state = input[1].value

validate_zip = input[2].value

ajax call

}

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

Be familiar with the basic ways to manage capacity.

Answered: 1 week ago

Question

Be familiar with the five basic ways to manage demand.

Answered: 1 week ago