I have a gridview inside a div.. I want to scroll to top of the div from the bottom of the div using jquery.. Any suggestion..
//
This is my solution to scroll to the top on a button click.
$(".btn").click(function () { if ($(this).text() == "Show options") { $(".tabs").animate( { scrollTop: $(window).scrollTop(0) }, "slow" ); } });