Kod JavaScript, aby automatycznie odświeżyć stronę
window.setTimeout(function () {
window.location.reload();
}, 30000);
window.setTimeout(function () {
window.location.reload();
}, 30000);
<meta http-equiv="refresh" content="30"/>
<a href="javascript:window.top.location.reload(true)" class="continue">Continue</a>
$(function(){
// don't cache ajax or content won't be fresh
$.ajaxSetup ({
cache: false
});
var ajax_load = "<img src='http://automobiles.honda.com/images/current-offers/small-loading.gif' alt='loading...' />";
// load() functions
var loadUrl = "http://fiddle.jshell.net/deborah/pkmvD/show/";
$("#loadbasic").click(function(){
$("#result").html(ajax_load).load(loadUrl);
});
// end
});