title: Jquery returnfalse; not working
body: <p>I have a tabbed navigation box on the sidebar of a wordpress blog. When clicking in the tabs to navigate, the page jumps to the top.</p>
  
  <p>The code has the return false and also tried the href=# onclick=returnfalse; but it didn't work. </p>
  
  <p><strong>Thank you!</strong> (will appreciate if you point out the mistake in the code as i'm totally rookie with jquery)</p>
  
  <pre><code>$(document).ready(function(){
   $('ul.tabNav a').click(function() {
    var curChildIndex = $(this).parent().prevAll().length + 1;
    $(this).parent().parent().children('.current').removeClass('current');
    $(this).parent().addClass('current');
    $(this).parent().parent().next('.tabContainer').children('.current').show('fast',function() {
     $(this).removeClass('current');
     $(this).parent().children('div:nth-child('+curChildIndex+')').hide('fast',function() {
      $(this).addClass('current');
     });
    });
    return false;        
   });
  });
  </code></pre>