$myReseller->printjQueryState(); ?> }); $('#zipInputField').load('assists/form_zip.php', {us: 1 <?php $myReseller->printjQueryZip(); ?> }, function() { var zipValue = $("#zip").val(); $("#zip").val($.trim(zipValue)); // alert('just tried to trim the zip field. Zip code text field contents: "'+ $("#zip").val()) + '"'; }); $('#latlonInputField').load('assists/form_latlon.php', {us: 1 <?php $myReseller->printjQueryLatLon(); ?> }, function(event) { geocodeHandler(); }); // update territories ddl $("#form_territories").load('assists/territories_form.php', {us: 1 <?php $myReseller->printjQueryTerritories(); ?> }, function() { bindRemoveTerritoryButtons(); }); } // "add territory" click handler