Tabs Ui and AJAX problem - linking from another page / menu

Tabs Ui and AJAX problem - linking from another page / menu

Before moving the content of my tabs over to ajax, I was able to pass an identifier at the end of a url to select the tab directly from a link on another page or in my drop down menu. As below:

<a href="http:www.site-name.co.ck./the-page.html#Div-ID">Some Link</a>

This was simple and worked very well.

How do I now get the same result now that the tab content is loaded by ajax

Thanks in advance if you can solve this one for me