I\'m using JQuery UI to make tabs in my application. I needed the tabs to be linkable (direct link that opens the page and selects the correct tab). This is done by using a
This simple method worked for me:
/* Prevent scroll to tab on click */ $(document).ready(function(){ $("a.ui-tabs-anchor").click(function(e){ e.preventDefault(); return false; }); });