jQuery UI Tabs - Two issues
Hi to all. I came across two issues with the UI Tabs, several days ago, and today I'm giving up ...
The first is pretty simple, but I'm stuck:
There's an example on the web site wich has this code:
$(function() { $("#tabs").tabs({ ajaxOptions: { error: function(xhr, status, index, anchor) { $(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo."); } } }); });
The thing is that when I run this, and click [like in the example] a tab with an url which doesn't exist, throws an error of "anchor" is not defined ... And I wonder, what is the .hash thing ??
The second issue is that I have several tabs, all of them load content by Ajax, and each of those contents, uses an external js file with jQuery and the ready() function. And in some of those contents too, are forms that uses another js files. The thing is that everything goes wonderfull on FF and even IE; but when I try to run it on Chrome, it doesn't load "The Inner" js files, just the first one is loaded, when the first page load, but nothing else from there. Any idea why could be that behaviour ??
Thanks in advance to all !!!