Categories | Question details Back To List | ||
access iframe javascript functions of tab from parent page I am having trouble accessing functions from javascript inside the tabs of my tabbar. I am using iframe mode (not iframes). Using the function tabWindow doesn't work when I call it if I use "iframe" mode but it works just fine if I use "iframes" mode. I need to use the single iframe mode for tabs so I dont have to deal with cached pages and other updating problems. Is there anything special I have to do to get that "tabWindow" function working? Is there a specific tab id I need to pass it since technically all the tabs are using one iframe on the page? I appreciate any help on this, thanks for making such an amazing product!! Answer posted by Alex (support) on Apr 22, 2009 05:55 Hello, In case of "iframe" mode you can use the following approach instead of tabWindow method: var win = tabbar._glframe.contentWindow; and then you can call functions: win.someIframeFunction(); Answer posted on Apr 22, 2009 09:41 Thank you so much for you're quick answer. |