Tuesday, 10 September 2013

jquery.easytabs.js always showing default tab as active on page reload

jquery.easytabs.js always showing default tab as active on page reload

To be using the custom scrollbar plugin, I've added a page refresh with my
easytabs script, but it doesn't keep the active tab, but sticks to the
default one. Please help...
<script type="text/javascript">
$(document).ready( function() {
$('#tab-container').easytabs();
$('.tab').click(function() {
location.reload();});
});
</script>

No comments:

Post a Comment