Subversion Repositories SmartDukaan

Rev

Rev 27171 | Rev 27202 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27171 Rev 27191
Line 33... Line 33...
33
							function(response) {
33
							function(response) {
34
								console.log(response.response.state);
34
								console.log(response.response.state);
35
 
35
 
36
								$('#retailerAddressState').val(
36
								$('#retailerAddressState').val(
37
										response.response.state);
37
										response.response.state);
-
 
38
								loadDistrictNames(response.response.state);
38
								for(let city of response.response.cities){
39
								for(let city of response.response.cities){
39
									    var opt = $("<option>").val(city).text(city);
40
									    var opt = $("<option>").val(city).text(city);
40
				                        $('#retailerAddressCity').append(opt);
41
				                        $('#retailerAddressCity').append(opt);
41
							           
42
							           
42
								}
43
								}
Line 72... Line 73...
72
		if (confirm("Are you sure you want to extend Billing?")) {
73
		if (confirm("Are you sure you want to extend Billing?")) {
73
			extendBilling($(this).parent(), fofoId);
74
			extendBilling($(this).parent(), fofoId);
74
		}
75
		}
75
 
76
 
76
	});
77
	});
-
 
78
	
77
	/*
79
	/*
78
	 * $('#retailerAddressState').live('change', function() { var stateName =
80
	 * $('#retailerAddressState').live('change', function() { var stateName =
79
	 * $(this).find('option:selected').text(); loadDistrictNames(stateName); });
81
	 * $(this).find('option:selected').text();
80
	 * 
82
	 * 
-
 
83
	 * loadDistrictNames(stateName); });
81
	 */
84
	 */
-
 
85
	 
82
 
86
 
83
	$("#location").live('click', function() {
87
	$("#location").live('click', function() {
84
		if ($(this).is(":checked")) {
88
		if ($(this).is(":checked")) {
85
 
89
 
86
			$("#divLocation").show();
90
			$("#divLocation").show();