Wijmo UI for the Web
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
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijwizard("option", "cookie");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijwizard("option", "cookie", newValue);
        
});
Javascript (Specification) 
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.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijwizard jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.