How to scroll to top of a div using jQuery?
问题 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.. <div id="GridDiv"> // gridview inside.. </div> My gridview will have custom pagination generated link buttons in it... I will scroll to top of the div from the bottom of the link button click ... protected void Nav_OnClick(object sender, CommandEventArgs e) { LinkButton lb1 = (LinkButton)sender; //string s = lb1.ID; ScriptManager.RegisterClientScriptBlock(lb1, typeof