uncaught exception: jQuery UI Tabs: Mismatching fragment identifier.

uncaught exception: jQuery UI Tabs: Mismatching fragment identifier.

I'm using jQuery 1.3.2 with jQuery UI 1.7.2 and trying to get a new set of tabs to work.

I'm getting the exception "uncaught exception: jQuery UI Tabs: Mismatching fragment identifier." in Firebug when trying to switch between the tabs. The tabs themselves get created and all of the classes and such are added. Events such as the tabs select event fire properly, and if I alert the hash value that it is trying to find the hash is correct and matches the hash that it is supposed to switch to.

The relevant javascript is:
  1. $("#permissions-content").tabs({
                    select:function(event, ui){
                        alert(ui.tab);
                    },
                    show:function(event){
                        $("#permissions-content > iframe").height($(window).height()-130);
                        $("#permissions-content > iframe").width($("#permissions-content").width());    
                    },
                    fx: {
                        opacity:'toggle',
                        duration:100
                    }
                });












And the relevant html is:

  1. <div id="permissions-content">
            <ul id="permissions-tabs">
                <li><a href="#folderpermissions"><span>Folders</span></a></li>
                <li><a href="#usergrouppermissions"><span>Users and Groups</span></a></li>
            </ul>
            <iframe src="folderpermissions.aspx" id="folderpermissions" />
            <iframe src="usergrouppermissions.aspx" id="usergrouppermissions" />        
        </div>







Outputting the selected tab hash in the select event gives me "http://localhost/permissions.aspx#usergrouppermissions" which is correct (the file this content in is indeed permissions.aspx), so the tabs should be switching fine.

I'm guessing that the issue comes from the permissions.aspx page itself being loaded in an parent iframe, which also happens to be in a tabs panel. I've tried specifying various contexts in the tab binding to no avail.

Can anyone provide some suggestions as to what I to do to get this working? I'm kind of stumped at this point...