Skip to content

Commit 34a98b7

Browse files
Setup Ajax Clear Cache
1 parent 7c60aa7 commit 34a98b7

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

index.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div id="ajaxResult">Loading.... </div>
1919

2020
<footer class="footer text-center" style="margin-top: 100px;" >
21-
<p>© 2017 ITCS's Dev.</p>
21+
<p>© 2017 ITCS's Developer.</p>
2222
</footer>
2323
</div>
2424

@@ -28,10 +28,17 @@
2828
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.7.0/sweetalert2.js"></script>
2929
<script src="js/cookie_helper.js"></script>
3030
<script>
31-
var ajaxResult;
31+
var ajaxResult = $('#ajaxResult');
32+
3233
$(function(){
33-
ajaxResult = $('#ajaxResult');
34-
ajaxResult.load('view/_exam.html');
34+
35+
$.ajaxSetup ({
36+
cache: false
37+
});
38+
39+
40+
ajaxResult.load('view/_summary.html');
41+
//ajaxResult.load('view/_exam.html');
3542
});
3643
</script>
3744
</body>

0 commit comments

Comments
 (0)