장주현

update choice

......@@ -91,10 +91,19 @@
<script>
function translateprocess(){
<p> 우편번호: ㄴㄴ</p>
<p> 주소: ㄴㄴ</p>
<p> 상세주소: ㄴㄴ</p>
}
var rawaddress = sample3_address.value;
var rawdetailAddress = sample3_detailAddress.value;
var rawextraAddress = sample3_extraAddress.value;
var rawsplitaddress = rawaddress.split(" ");
var text = "country/Region : Korea, Republic of" + "<br>Full name : 영문이름" + "<br>Street address : " + rawaddress + "<br>Street address : " + rawdetailAddress + rawextraAddress + "<br>City : " + rawsplitaddress[0] + "<br>State/ Province/ Region :" + rawsplitaddress[1] + "<br>Zip Code : " + sample3_postcode.value + "<br>Phone number : (+82)본인의 전화번호";
document.getElementById("englishaddress").innerHTML = text;
}
</script>
</script>
\ No newline at end of file
<div id="englishaddress">---<br></div>
\ No newline at end of file
......