Prevent browser from jumping to top of the page
When you use href=’#’ and provide a JavaScript function for the onclick event, the browser always jumps to the top of the page after executing the JavaScript function. The simple way to avoid the jumping effect is to include a ‘return false’ statement after the call to the JavaScript function. Example:
<a href=’#’ onclick=’fnClick(this); return false;’>Do something </a>
If you use .NET 1.1, you can set "Smartnavigation=true" in Document properties.
