Url does only change the remote url, but doesn't load autoamtically.
Is that the problem? You would have to use tabs('load') as well.
--Klaus
On 3 Nov., 12:12, andrew <[EMAIL PROTECTED]> wrote:
> Hi All
>
> I have searched for a solution but cannot seem to find anything. I
> have some tabs that load data from an external dynamic url. The url
> worls fine, but does not refresh on changing the URL - i.e. from
> ItemId=3 to ItemID=4. I will explain best with my code:
>
> Assigning the tabs:
> $(function() {
> $('#tabcontainer > ul').tabs(
> { fx: { opacity: 'toggle' },
> select: function(ui) {
> TabClick();
> },
> show: function(ui) {
> },
> cache:false
> });
>
> });
>
> The TabClick Function looks like this:
> function TabClick(){
> var url = "ItemID=" + document.getElementById("txtNodeID").value;
> $('#tabcontainer > ul').tabs("url", teltab, "Telemetry/
> SiteSummary.aspx?" + url); //report tab
> $('#tabcontainer > ul').tabs("url", doctab, "Documents/
> Documents.aspx?" + url); //documents tab }
>
> What happens is tab only loads the first selected url, and seems to
> cache the URL. I have played around with cache:true, cache:false, but
> this did not seem to help. Any assistance would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---