Opened 11 years ago

Last modified 11 years ago

#7225 closed bug

Issue with JQuery UI tabs loading tab content using AJAX — at Initial Version

Reported by: slomatt Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:

Description

Summary When I attempt to setup JQuery UI tabs to pull tab content from an external file using ajax I get the following error:

Node cannot be inserted at the specified point in the hierarchy" code: "3

This is thrown at line 5636 of the non-minified JQuery 1.5.1 source code.

fragment.appendChild( ret[i] );

Testing done using Firefox 4 with Firebug on OSX. The following code causes the error.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/ui-lightness/jquery-ui.css" media="all" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>

    <script type="text/javascript">
        $( function()
        {
            $( "#controller-pane" ).tabs();
        } );
    </script>
</head>
<body>

<div id="controller-pane">
    <ul class="tabs">
        <li><a href="data-pane.html">Analysis</a></li>
    </ul>
</div>

</body>
</html>

Change History (0)

Note: See TracTickets for help on using tickets.