 |
|
|  |
|
 |
10년 전 |
<script src="../js/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#btn .btnLoad").click(function() {
$('#ctlGrid').load("01.HtmlSamplePage.htm"); // 비동기적으로 페이지로드
window.alert("이 메시지는 먼저 출력됨. Why? 비동기."); // 메시지박스가 먼저 출력 가능
});
});
</script>
<div id="btn">
<div class="btnLoad">
HTML읽어오기 버튼</div>
</div>
<div id="ctlGrid">
</div>
|
|
추천 : 532 |
추천
목록
|
|
|  |
|