T
taltal78
Hello,
I have a form inside an iFrame which I want to submit with javascript
as the iframe loads.
For example:
<iframe src="" name="myiframe" id="myiframe>
<form method="post" id="myform" name="myform" action="http://
www.yahoo.com" target="_self">
</form>
</iframe>
No matter how I try to submit the form I cannot get it.
I'm getting null on:
- document.getElementsByName("myform") ,
- document.myiframe.myform
all other combinatinos I try gives the same, i cannot access the form.
Can you please assist me getting this working ?
Thanks!
Tal.
I have a form inside an iFrame which I want to submit with javascript
as the iframe loads.
For example:
<iframe src="" name="myiframe" id="myiframe>
<form method="post" id="myform" name="myform" action="http://
www.yahoo.com" target="_self">
</form>
</iframe>
No matter how I try to submit the form I cannot get it.
I'm getting null on:
- document.getElementsByName("myform") ,
- document.myiframe.myform
all other combinatinos I try gives the same, i cannot access the form.
Can you please assist me getting this working ?
Thanks!
Tal.