Hello,
I've got a problem with a client-side program.
I have 3 iframes in my website and I want to get a radtoolbar object to detect the button clicked.
This object is in the iframe 1 and I want it back in the iframe 2. Here is the code to retrieve:
My browser gets an error (toolbar.get_items is not a function.
With this method, i retrieve a [object HTMLDivElement].
How can i get a real radtoolbar object or how can I convert this [object HTMLDivElement] in radtoolbar object ?
Thanks in advance.
I've got a problem with a client-side program.
I have 3 iframes in my website and I want to get a radtoolbar object to detect the button clicked.
This object is in the iframe 1 and I want it back in the iframe 2. Here is the code to retrieve:
var toolbar = parent.frames["HeaderFrame"].document.getElementById("ToolBarMenu"); |
for(i=0; i<toolbar.get_items().get_count(); i++) |
{ |
alert(toolbar.get_items().getItem(i).get_text()); // to see if the toolbar is really a radtoolbar aobject |
} |
My browser gets an error (toolbar.get_items is not a function.
With this method, i retrieve a [object HTMLDivElement].
How can i get a real radtoolbar object or how can I convert this [object HTMLDivElement] in radtoolbar object ?
Thanks in advance.