티스토리 뷰
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!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>필터</title>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#btn").click(function(){
$.ajax({
url:'http://localhost:8080/JqueryTest/TEST_1.js',
type:'get',
dataType:'json',
ifModified:true,
success:function(obj){
if(obj != null)
alert(obj.length+"개");
}
});
});
});
</script>
</head>
<body>
<form id="form" name="form">
<table>
<tr>
<td><span id="ajaxResult"></span></td>
</tr>
</table>
<table>
<tr>
<td> <p>Jquery AJAX 속성 ifModified</p>
$(document).ready(function() { </br>
$("#btn").click(function(){ </br>
$.ajax({ </br>
url:'http://localhost:8080/test/TEST_1.js', </br>
type:'get', </br>
dataType:'json', </br>
ifModified:true, </br>
success:function(obj){ </br>
if(obj != null)
alert(obj.length+"개"); </br>
} </br>
}); </br>
}); </br>
}); </br>
</td>
</tr>
</table>
</form>
<table id="table2">
<tr>
<td><a href="index.jsp">돌아가기</a></td>
</tr>
<tr>
<td><input type="button" id="btn" value="클릭1"/></td>
</tr>
</table>
</body>
</html>
- Total
- Today
- Yesterday
- 토드
- 오라클
- jdk
- ora-01940
- 인스타그램
- 밀리세컨드
- 테라로사
- oracle
- PPTX
- pdf ms워드 변환
- 대관령양떼목장
- 산외한우마을
- 맛집
- 가평팬션
- 제주도여행
- 인천
- 파주여행
- 정동지
- 보성녹차밭
- 담양 죽녹원
- 이클립스
- 덤프
- java api
- 인천여행
- 부천역
- 가평여행
- 임자도
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |