Lines 209-218
$(document).ready(function(){
Link Here
|
209 |
var addressfield = $(this).data("addressfield"); |
209 |
var addressfield = $(this).data("addressfield"); |
210 |
var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/); |
210 |
var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/); |
211 |
var matches = selected_city.match( myRegEx ); |
211 |
var matches = selected_city.match( myRegEx ); |
212 |
$('input[name="' + addressfield + "zipcode").val( matches[1] ); |
212 |
$('input[name="' + addressfield + "zipcode\"]").val( matches[1] ); |
213 |
$('input[name="' + addressfield + "city").val( matches[2] ); |
213 |
$('input[name="' + addressfield + "city\"], input[name=\"altcontactaddress3").val( matches[2] ); |
214 |
$('input[name="' + addressfield + "state").val( matches[3] ); |
214 |
$('input[name="' + addressfield + "state\"]").val( matches[3] ); |
215 |
$('input[name="' + addressfield + "country").val( matches[4] ); |
215 |
$('input[name="' + addressfield + "country\"]").val( matches[4] ); |
216 |
}); |
216 |
}); |
217 |
|
217 |
|
218 |
dateformat = $("#dateofbirth").siblings(".hint").first().html(); |
218 |
dateformat = $("#dateofbirth").siblings(".hint").first().html(); |
219 |
- |
|
|