unknown runtime error

Hi guys,



Im using the tabbar control, when I open a tab using iframes, I have line of code in the frame window.



var id=parent.tabbar.getActiveTab();

parent.tabbar.setLabel(id,“test”);



but it returns a JS error ‘unknown runtime error’



this happens on both FF and IE

Please check that content in both top and child frames loaded from the same domain.
Browser will block any js command between frames in different domains.