<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>$.get() 예제</title>
<link rel="stylesheet" type="text/css" href='../css/common.css'>
<script type="text/javascript" src="../js/jquery-1.2.1.js" ></script>
<script type="text/javascript">
$(function (){
$('#testButton').click(function (){
$.get(
'reflectData.jsp',
{a:1, b:2, c:3},
function (data){ alert(data);}
);
});
});
</script>
</head>
<body>
<button type="button" id="testButton">클릭하시오!</button>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>$.get() 예제</title>
<link rel="stylesheet" type="text/css" href='../css/common.css'>
<script type="text/javascript" src="../js/jquery-1.2.1.js" ></script>
<script type="text/javascript">
$(function (){
$('#testButton').click(function (){
$.get(
'reflectData.jsp',
{a:1, b:2, c:3},
function (data){ alert(data);}
);
});
});
</script>
</head>
<body>
<button type="button" id="testButton">클릭하시오!</button>
</body>
</html>
'jQuery' 카테고리의 다른 글
jQuery 라이브러리 불러오기 (0) | 2010.10.21 |
---|---|
datejs (0) | 2009.12.21 |
jQuery In Action chapter 8-1 (0) | 2009.12.20 |
jQuery In Action chapter 4-5 (0) | 2009.12.20 |
jQuery In Action chapter 4-4 (0) | 2009.12.20 |