how to make a refresh in jquery code example
Example 1: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 2: refresh div jquery
$("#mydiv").load(location.href + " #mydiv");
//this is actualy not so nice but it does the job.