ajax 동기, 비동기 처리
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 전화번호를 검색하여 받아온다. | |
var telNo = ''; | |
$.ajax({ | |
url : '', | |
data : {}, | |
type : 'post', | |
sendDataType : 'json', | |
success : function(data) { | |
telNo = data; | |
} | |
}); | |
// 전화번호를 넣어준다. | |
$('#telNo').val(telNo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment