Wijmo UI for the Web
cookie Option
wijmo.wizard.wijwizard Namespace > options type : cookie Option

Default value: null

The cookie option is a value that stores the latest active index in a cookie. The cookie is then used to determine the initially active index if the activeIndex option is not defined.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijwizard("option", "cookie");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijwizard("option", "cookie", newValue);
        
});
var cookie : object;
Example
$(".selector").wijwizard({cookie:{expires: 7, path: '/', domain:  'jquery.com';, secure: true }})
Remarks
This option requires a cookie plugin. The object needs to have key/value pairs of the form the cookie plugin expects as options.
See Also

Reference

options type
wijwizard jQuery Widget