I was preparing to do some additions to by CodeProject Chrome Extension
This One[
^], and i thought while i am at it i would upgrade the JQuery and JQueryUI cores to the latest versions.
The original versions are V1.4.2 and V1.8.2 (UI) and was taking them up to V1.5.1 and V.8.11.
On the extension, I have a tab control, with Tabs 1 and 3 are standard markup, Tabs 2 and 4 are ajax calls. This works fine with the original versions, but throws an error (which is only visible in the Chrome Console) of
WRONG_DOCUMENT_ERR: DOM Exception 4
, and the respective tab is just blank when clicked.
The code for the tabs is;
<script type="text/javascript">
//Initiate the JQUuery tabs
$(function () {
$("#tabs").tabs();
});
</script>
<div id="tabs" style="height: 400px;">
<ul>
<li><a href="#tabs-1">Reputation Points</a></li>
<li><a href="repgraph.html">Reputation Graph</a></li>
<li><a href="#tabs-3">Options</a></li>
<li><a href="about.html">About</a></li>
</ul>
<div id="tabs-1" style="padding-left: 5px">
..... tab content removed....
</div>
<div id="tabs-3" style="padding-left: 5px">
..... tab content removed....
</div>
</div>
The markup for the reference page, e.g. the about.html page (Tab 4) is;
<html>
<head>
<title></title>
<link type="text/css" href="css/custom-theme/jquery-ui-1.8.11.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="jquery/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui-1.8.11.custom.min.js"></script>
<script type="text/javascript" src="js/cpjshelper.js"></script>
</head>
<body bgcolor="#ffcc66">
<script type="text/javascript">
_gaq.push(['_trackPageview']);
</script>
<div style="padding-left: 5px">
<h3>CodeProject Reputation Watcher Chrome Extension</h3>
Version: V2.0<br />
.....rest of html markup removed.....
</div>
</body>
</html>
Any ideas what has changed between the Jquery versions as its really frustrating. I have had a look at the JQuery upgrade guides and see nothing relating to this that may be attributable to the failures.
Any help or pointers appreciated....i'm lost now!