Open tartarJR opened 9 years ago
Trying to stay on the same tab after posting a form but could not make it. How can make it happen ?
$('#tab-container').easytabs({ active : $.cookie('activetab'), activate : function( event, easytabs){ $.cookie( 'activetab', easytabs.newTab.index(),{ expires : 10 }); } });
you could try to set "updatehash: true,", so that the browser is "knowing" you are on the contact tab for example.
Trying to stay on the same tab after posting a form but could not make it. How can make it happen ?
$('#tab-container').easytabs({ active : $.cookie('activetab'), activate : function( event, easytabs){ $.cookie( 'activetab', easytabs.newTab.index(),{ expires : 10 }); } });