function searchSiChange(obj){
$.ajax({
type: "POST",
url: "/portal/postaddr/addrSearch/searchAddr.do",
dataType: "json",
data: "searchAddr="+obj.value,
success: searchAddrResult
});
}
function searchAddrResult(oj){
try {
var arrSignguNm = oj.signguNm.split("|");
var tObj = document.getElementById("searchGu");
removeAll(tObj);
for (var i=0; i<arrSignguNm.length;i++){
var opt = document.createElement("option");
opt.value = arrSignguNm[i];
opt.text = arrSignguNm[i];
tObj.options.add(opt);
}
}
catch (err){
alert("예외 오류입니다.");
}
}