.tabs('add', '#test', 'Tab'); not working through iFrame.

.tabs('add', '#test', 'Tab'); not working through iFrame.

I ran some tests and finally got some results from using jQuery to modify my ThickBox iFrame.

//             $('#TB_iframeContent').contents().find('#container-1 > ul').append("test");

added the text text to my iframe. Yay.

However, what I really want to do is make it add a new tab to the content inside the iframe.

$('#TB_iframeContent').contents().find('#container-1 > ul').tabs('add', '#test', 'Tab');

But this doesn't work! I tried everything. and now I'm very truly stuck. In addition I cannot find anything on search here nor on google.

Any help would be MUCH appreciated.