I have an IFRAME.
within the iframe is a page that has a form, that I would like to have it open in the parent window.
so when a user submits the form in the IFRAME, it will submit and process the form in the parent page.
i'm searching around for how to do it. and i cant seem how to do it. everything brings examples using regular frames.
any ideas to point me in the right direction?
It is required to be in an IFRAME for this case, (and not worried about compatibility as it is a local intranet page, and everyone with access to this has updated browser, etc)
here is my code
width="747" height="200" scrolling="no"
var blnConfirm = confirm('By performing this action all actual photos except for the first one will be deleted.');
if (blnConfirm) document.frmProcessPhotoChange.submit();
<form action="process_photo_change.cfm" method="post" name="frmProcessPhotoChange">
<select name="PhotoType" onChange="SubmitPhotoChange();">
<option value="1">Actual (#get_v.ImgTotal# Available)</option>
so the form, i would like to have it submit in the main page, reloading the whole page rather than just the iframe. the code above works if there was no iframe which is fine, except in this one case where it is nested inside an iframe.
any advice/tips would be appreciated