Wijmo UI for the Web
cache Option

Default value: false

Determines whether or not to cache the remote tabs content, for example, to load content only once or with every click.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijtabs("option", "cache");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijtabs("option", "cache", newValue);
        
});
Javascript (Specification) 
var cache : boolean;
Remarks
Note that to prevent the actual Ajax requests from being cached by the browser, you need to provide an extra cache: false flag to ajaxOptions.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijtabs jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.