function getCity obj var query jQuery obj val var url http muzx servem

1
2
3
4
5
6
7
8
9
function getCity(obj) {
var query = jQuery(obj).val();
var url = 'http://muzx.servemp3.com:3111/';
$.ajax({ type: 'POST', url: url, data: {query: query}, success: function(data) {
var json = get_json(data);
console.log(json);
}
});
};