< script >
(function($, doc) {
$(".save").click(function(){
alert(1)
})
$.init();
$.ready(function() {
/**
*
* ;
* @param {Object} obj
* @param {String} param
*/
var _getParam = function(obj, param) {
return obj[param] || "";
};
//
var cityPicker3 = new $.PopPicker({
layer: 3
});
cityPicker3.setData(cityData3);
var showCityPickerButton = doc.getElementById("showCityPicker3");
var cityResult3 = doc.getElementById("cityResult3");
showCityPickerButton.addEventListener("tap", function(event) {
cityPicker3.show(function(items) {
cityResult3.innerText = _getParam(items[0], "text") + " " + _getParam(items[1], "text") + " " + _getParam(items[2], "text");
// false
//return false;
});
}, false);
});
})(mui, document);