Wijmo UI for the Web
cookie Option
wijmo.tabs.wijtabs Namespace > options type : cookie Option

Default value: null

Stores the latest selected tab in a cookie. The cookie is then used to determine the initially selected tab if the selected option is not defined. This option requires a cookie plugin. The object needs to have key/value pairs of the form the cookie plugin expects as options.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijtabs("option", "cookie");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijtabs("option", "cookie", newValue);
        
});
var cookie : object;
Example
//Set cookie to wijtabs.
$('.selector').wijtabs({cookie: { 
expires: 7, path: '/', domain: 'jquery.com', secure: true }});
See Also

Reference

options type
wijtabs jQuery Widget