Posts by Denis Casarotto • 1 point
1 post
-
0
votes3
answers846
viewsA: Stay in the same tab after Refresh
Using the bootstrap I did this way: $('ul.nav-tabs li a').click(function(e){ e.preventDefault(); $(this).tab('show'); window.scrollTo(0, 0); }); $('ul.nav-tabs > li > a').on('shown.bs.tab',…