jQuery обновление страницы
$('#myElement').click(function() {
location.reload();
});
Grepper
$('#myElement').click(function() {
location.reload();
});
header("Refresh:0");
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
$("#mydiv").load(location.href + " #mydiv");
//this is actualy not so nice but it does the job.
$('#something').click(function() {
location.reload();
});
$(document).ready(function() {
$("button").click(function() {
location.reload(true);
});
});