jd_dobariya
asked on
Javascript
Hellow !
Well ,I have one asp page contains iframe inside it.
in that frame frame opens the external URL.
I want to assign the value of textbox of the inner page (the page from external page opening inside the frame )
i used the following javascript
document.getElementById("i frm").docu ment.getEl ementsByNa me("modoOp eracao") it shows me the object but
document.getElementById("i frm").docu ment.getEl ementsByNa me("modoOp eracao").v alue it shows me "undefined"
please let me know how can i solve it.
Thanks you very much.
Well ,I have one asp page contains iframe inside it.
in that frame frame opens the external URL.
I want to assign the value of textbox of the inner page (the page from external page opening inside the frame )
i used the following javascript
document.getElementById("i
document.getElementById("i
please let me know how can i solve it.
Thanks you very much.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ritetek, Good catch! That is probably all he needs.
bol
bol
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
Is the page with the textbox on a different domain or server than the page where you will place this script? If so you can't do it. The browser prevents cross domain scripting like this for security reasons. Let me know if the pages are on the same server and domain.
Let me know if you have any questions or need more information.
b0lsc0tt