Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started