Open Links in the current tab (doc problem?)

Open Links in the current tab (doc problem?)


Hello,
In the following section of documentation:
http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself
The code works only once. That is, the tab is loaded (ajax) with some
links in the body. If I follow one of the links the tab loads the new
address that contains even more links. If I click any of the new links
the whole window will load it, instead of just the tab.
I am wondering if its a bug, a documentation problem (as it doesnt
makes clear the code will work only once) or if I have put the code in
the wrong place ? Currently the code is on the outer page (tabs
container) and not on the page inside the tab.
Regards