Auto scroll top when page loaded using jQuery
Try this
<script type="text/javascript">
$(document).ready(function () {
window.scrollTo(0,0);
});
</script>
The parameters 0,0 are the x and y coördinates.
I hope it helps.
Try this
<script type="text/javascript">
$(document).ready(function () {
window.scrollTo(0,0);
});
</script>
The parameters 0,0 are the x and y coördinates.
I hope it helps.