﻿function getcitylist(str)
{
$.ajax({
            type: "post",
            contentType: "application/json",
            url: "/WebServices/dataValidateWebService.asmx/Getcitylist",
            data: "{syz:'" +str + "'}",
            dataType: "json",
            success: function(result) {
                if(result.d=="")
                {
                    alert('暂无数据！');
                }
                else if(result.d=="-1")
                {
                    alert('访问web服务出错');
                }
                else
                {
                    $("#city_list_select").empty();
                    $("#city_list_select").append(result.d);
                }
            },
            error: function() {
                alert('访问web服务出错');
            }
        });
}
function tcxx(e)
{var strvalue=$(e).text();
strvalue=strvalue.replace(/\s+/g,""); 
    $("#mudidi").val(strvalue);
    $("#city_secl").hide();
}
