Web Development with jQuery®

(Elliott) #1

Making a Server Request (^) ❘ 185
// Change the label
$('label[for="addressState"]').text(
xml.find('label').text() + ':'
);
},
'xml'
);
}
);
$('select#addressCountry').click();
}
);
Then for the AJAX requests to succeed, you need to create some XML fi les for the response content.
When you change the country in the