L
Logos
Hopefully you can shed some light on my issue!
I have a page with an iframe containing a table. The table rows and
contents are generated dynamically, without using innerHTML. (I have
a suspicion that this may be the problem - the dynamically created
nodes are not being put into the DOM)
I have some code that tries to pull a select box's value from an
iframe:
window.frames[0].document.getElementById("sboxLineQty|3").value;
This gives me an exception. Trying to retrieve the selectbox itself
using a similar statement returns null.
However, if I use this:
window.frames[0].document.getElementById("tblDetails").rows[1].cells
[0].firstChild.value
I get the selectbox's value, as I expect. However, this method is
less than desirable.
Thanks for any insight you might share on this!
Tyler Style
I have a page with an iframe containing a table. The table rows and
contents are generated dynamically, without using innerHTML. (I have
a suspicion that this may be the problem - the dynamically created
nodes are not being put into the DOM)
I have some code that tries to pull a select box's value from an
iframe:
window.frames[0].document.getElementById("sboxLineQty|3").value;
This gives me an exception. Trying to retrieve the selectbox itself
using a similar statement returns null.
However, if I use this:
window.frames[0].document.getElementById("tblDetails").rows[1].cells
[0].firstChild.value
I get the selectbox's value, as I expect. However, this method is
less than desirable.
Thanks for any insight you might share on this!
Tyler Style