open results/link in the same tab

open results/link in the same tab

Hi all,
I am newbie to jquery-ui  and am trying to check the snippet abt  "open links in current tab instead of leaving the current page" posted at url  <a href="http://docs.jquery.com/UI/Tabs">http://docs.jquery.com/UI/Tabs</a>
But i could not make it work.
Is there anything i am missing ? ofcourse i am using javascript headers for jquery and jquery-ui libraries.
Could someone hint me? Is there anything wrong with the snippet or any changes in the library ?
Krishna