How to Reload Page on click??
Html Code:
<div id="test">
<p>this is test.</p>
<p id="closeAuction">Reload Page<p>
</div>
Jquery Code:
$(document).ready(function() {
$('#closeAuction').click(function() {
location.reload();
});
});
For Live Demo Click Here Live Demo
Html Code:
<div id="test">
<p>this is test.</p>
<p id="closeAuction">Reload Page<p>
</div>
Jquery Code:
$(document).ready(function() {
$('#closeAuction').click(function() {
location.reload();
});
});
For Live Demo Click Here Live Demo
0 comments: