Wijmo UI for the Web
url Method
The zero-based index of the tab of which its URL is to be updated.
A URL the content of the tab is loaded from.
Changes the url from which an Ajax (remote) tab will be loaded.
Syntax
Javascript (Usage) 
var instance = new jQuery.wijmo.wijtabs();
var value; // Type: wijtabs

// Parameters
var index; // Type:  number
var url; // Type:  string

value = instance.url(index, url);
Javascript (Specification) 
function url( 
   index : number,
   url : string
) : wijtabs;

Parameters

index
The zero-based index of the tab of which its URL is to be updated.
url
A URL the content of the tab is loaded from.
Example
//Changes the second tab to a new tab url.
$("#element").wijtabs('url', 1, "http://wijmo.com/newTabUrl")
Remarks
The specified URL will be used for subsequent loads. Note that you can not only change the URL for an existing remote tab with this method, but you can also turn an in-page tab into a remote tab.
Browser Compatibility
7
5
5

See Also

Reference

wijtabs type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.