Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James on Dec 12, 2007 03:35
open dhtmlx forum
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
Answer posted by Support on Dec 12, 2007 04:48
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.