I am trying to use the Jquery cookie plugin to remember the last selected tab.
I can't seem to get it to work.Do i need anything else apart from the jquery lib and cookie plugin???
This is the code:
<script type="text/javascript">
$(document).ready(function() {
$("#tabletabscampaigns > ul").tabs({ remote: true, cache: true });
$("#tabletabscampaigns").tabs({selected: 0, cookie: { expires: 30} });
});
</script>
<div id="tabletabscampaigns" style="float:left; width:895px; margin-top:20px;">