citypicker插件不可以赋值

在cityPicker.js里添加方法

setValue: function(address){  
            this.$element.val(address).trigger('change');
        },

citypicker插件不可以赋值

赋值时调用下面方法:

$("#city-picker3").citypicker("setValue", "newValue");

 

本方法来自:https://www.cnblogs.com/angelshelter/p/6083066.html

多谢原博主分享~~