Hi all,
I didnt have much success with my last post, so i pushed on a bit.
I am trying to find out how to pass data from an iframe within a form, the a hidden field in that form itself (which would be on the parent document).
Im assuming i have to do this via java, but being a java novice im really quite stumped.
Ive searched high and low on google but have come up with nothing.
I have something similar to below.
<FORM enctype="multipart/form-data" method="post"
action="confirm.php name="formname">
Form Data in here - various inputs etc.
<iframe name="iframename" src="iframepage.php">
</iframe>
<input type="hidden" name="hiddeninput">
<INPUT type="submit" name="submit" value="Upload">
</form>
Within the iframepage.php file, there is a combo dropdown box. So im assuming it will need to be an "onchange" of some sort to populate the field "hiddeninput" on the parent document.
I hope someone out there can help me out with this. Or if not, perhaps point me in the direction of somewhere i can find some info to step me through it.
I appologize if im posting this in the wrong forum. I am unsure if it should be in a java forum or php.
Many thanx in advance.
Dave