I have a webpage with multiple DIV elements. If i use the jquery function SlideUp to hide one (which is towards the bottom of the page), the page automatically scrolls back to the top. How can I prevent this?
To trigger the jquery function, I do something like this:
$(MyLink).click(function() {
MyDiv.slideUp("slow");
}
MyLink being within MyDiv which is somewhere in the middle of the page.