Changeset 906 for pro-violet-viettel/sourcecode/assets/js/admin/user.js
- Timestamp:
- Apr 23, 2015 12:00:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/assets/js/admin/user.js
r883 r906 104 104 { 105 105 result = jQuery.parseJSON(data); 106 content = " ";106 content = "<option></option>"; 107 107 if (result != null){ 108 108 for (var i in result){ … … 113 113 } 114 114 } 115 $(".form-field-district").html(content);115 116 116 } 117 $(".form-field-district").html(content); 117 118 } 118 119 }); … … 127 128 { 128 129 result = jQuery.parseJSON(data); 129 content = " ";130 content = "<option></option>"; 130 131 if (result != null){ 131 132 for (var i in result){ 132 133 content = content + '<option value="' + result[i].district_id + '">'+ result[i].type + " " + result[i].district_name + '</option>' 133 134 } 134 $(".form-field-district").html(content);135 135 } 136 $(".form-field-district").html(content); 136 137 } 137 138 }); … … 140 141 $(document).ready(function(){ 141 142 $(".form-field-province").change(function(){ 142 //alert("OK");143 143 changeEventProvince(); 144 144 });
Note: See TracChangeset
for help on using the changeset viewer.