コード例 #1
0
	// update form because the location has changed
	function formLocationUpdate() {
		var reseller_location = $('input:radio[name=rb_location]:checked').val();
		if (reseller_location == 'int') {
			//populate international form input fields
			$('#eliteformInputField').load('assists/form_elite.php', {us: 0 <?php 
$myReseller->printjQueryElite();
?>
 });
			$('#catalogformInputField').load('assists/form_catalog.php', {us: 0 <?php 
$myReseller->printjQueryCatalog();
?>
 });
			$('#distributorformInputField').load('assists/form_distributor.php', {us: 0 <?php 
$myReseller->printjQueryDistributor();
?>
 });
			$('#specialistDealerInputField').load('assists/form_specialistDealer.php', {us: 0 <?php 
$myReseller->printjQuerySpecialistDealer();
?>
 });
			$('#countryFormFields').load('assists/form_countries.php', {us: 0 <?php 
$myReseller->printjQueryCountry();
?>
});
			$('#stateInputField').load('assists/form_states.php', {us: 0 <?php 
$myReseller->printjQueryState();
?>
}, function() {
				var stateValue = $('#state').val();