Call a function on another tab

Just wondering how to call a javascript function on another tab.

Thanks in advance.

If you mean whan tab is selected - use this:
docs.dhtmlx.com/doku.php?id=dhtm … t_onselect

thanks. Turns out I was missing some js