Ignore:
Timestamp:
Apr 23, 2015 12:00:06 PM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/assets/js/admin/user.js

    r883 r906  
    104104        {
    105105            result = jQuery.parseJSON(data);   
    106                         content = "";
     106                        content = "<option></option>";
    107107                        if (result != null){
    108108                                for (var i in result){
     
    113113                                        }
    114114                                }
    115                                 $(".form-field-district").html(content);
     115                               
    116116                        }
     117                        $(".form-field-district").html(content);
    117118        }
    118119    });
     
    127128        {
    128129            result = jQuery.parseJSON(data);
    129                         content = "";
     130                        content = "<option></option>";
    130131                        if (result != null){
    131132                                for (var i in result){                 
    132133                                        content = content + '<option value="' + result[i].district_id + '">'+ result[i].type + " "  + result[i].district_name + '</option>'
    133134                                }
    134                                 $(".form-field-district").html(content);
    135135                        }
     136                        $(".form-field-district").html(content);
    136137        }
    137138    });
     
    140141$(document).ready(function(){
    141142        $(".form-field-province").change(function(){
    142                 //alert("OK");
    143143                changeEventProvince();
    144144        });
Note: See TracChangeset for help on using the changeset viewer.