Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Charlie R Chisholm on Feb 06, 2009 09:44
open dhtmlx forum
calling a function on a tabbar content page from the parent page

Hi,

I am trying to call a function that is on one of the content pages of a tabbar page. I have tried several syntax varients and none have worked.

Charlie






Answer posted by Support on Feb 06, 2009 10:17
If you are using frame-based mode, you can use next syntax
            tabbar.tabWindow(tab_id).function_name();
Answer posted by Charlie R Chisholm on Feb 06, 2009 10:53

I tried you suggestion and get 'tabbar.tabWindow(...)' is null or not an object.   Is there a JS file I should be including?   I am sending you the parent template.   Line 36 is where I am calling the function you suggest.  When you say "If you are using frame-based mode..."   I don't know if I am uinsg frame based mode or not.  Please forgive my ignorance. 

By the way, you all make some great products.

 

Charlie

Attachments (1)
Answer posted by Alex (dhtmlx support) on Feb 09, 2009 06:32

Please, see the answer to your latest question http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=7793