It would really not be possible to advise you without seeing your code. Can you show us this div tag and tell us what it is you want to access?
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="/SpryAssets/SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
Spry.Widget.HTMLPanel.evalScripts = true;
<div class="TabbedPanels" id="TabbedPanels2">
<li class="TabbedPanelsTab" tabindex="0" >Tab 1</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="tab2.loadContent('test1/load.asp');return false;">Tab 2</li>
<div class="TabbedPanelsContent" id="tab1">test content 1</div>
<div class="TabbedPanelsContent" id="tab2">test content 2</div>
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels2");
var tab1 = new Spry.Widget.HTMLPanel("tab1");
var tab2 = new Spry.Widget.HTMLPanel("tab2");
What are you wanting to do with this code?
This is the code from the parent document containing tabbed panels, which loads the child document 'load.asp' as indicated in the above script in one of the tabbed panels.
The child document 'load.asp' itself contains ajax script to load the child page without reloading the whole page. It works perfectly fine if the child document is loaded outside the tabbed panels.
However, if the parent document is loaded and the child page gets loaded alongwith it, the ajax script does not work as desired. The ajax script loads the child document outside the tabbed panels and it also displaces the original parent document from the browser itself.