I have this code:
jQuery(document).ready(function($) {
$( "#tabs" ).tabs({
collapsible: true,
fx: { height: 'toggle', duration: 'fast'},
cookie: { expires: 30 }
});
});
I use jQuery tabs with a cookie set. If no cookie is set I want to hide the tabs. I have the jquery.cookie plugin installed that was required.
My question
How can I check if the tabs cookie is set or not?