I am trying to change the value of a text box inside of a tab iframe. Is there a method to set the ID and/or Name of the tab iframe so I can target the contents.
Regards
Jason
I am trying to change the value of a text box inside of a tab iframe. Is there a method to set the ID and/or Name of the tab iframe so I can target the contents.
Regards
Jason
Hello,
the iframe object can be got by the following approach:
var iframeObj = tabbar.cells(tabId)._frame;
But there is public method that return iframe window:
var win = tabbar.tabWindow(tabId);
So, to get value you may try to use the following:
var value = win.document.getElementById(“someId”).value;
And if I have a tabbar “ajax-html”, how can I accesing?
And if I have a tabbar “ajax-html”, how can I accesing?
in case of ajax-html mode iframes aren’t used. Therefore you may simple document.getElementById(…) approach