refresh a page in jquery

JavaScript
$('#something').click(function() {
    location.reload();
});
Source

Also in JavaScript: