Modife Ajax Tab in a fly

Modife Ajax Tab in a fly


Hi,
I trying to do very flexible user interface with ui.tabs.
I have a few tabs all connected by a href to static pages. e.x.
<li><a id="mytabID" href="page.html"><span>Page</span></a></li>
It works fine before next step.
Tabs lies on Accordion Panel.
My demand is to change on the fly href for that tab to change content
on tab.
I am using, document.getElementById('mytabID').href = "newpage.html"
method but after
do it my page is totally blank and my browser hangs.
Is it possible to do? If yes how to do it?
thanks in advance for help
Piter.