I am using the following code.. (please don't say I should just change to ajax or something else, this was a decision made for various reasons and not in my control, so its built using iframes)
I would place a link here but i can't.. its secured content, and requires an account to access it.
there is a popup that opens this popup so the parent is in question at this stage...
I have an iframe named 'publish' and an iframe named 'hide', within a window named 'SD'. 'hide' is just that, processes that do not result in visible page contents, while 'publish' houses the viewable result.. it happens in two js
<SCRIPT language="JavaScript">
function submitform1()
{
document.myForm.target = "publish";
document.myForm.submit();
}
</SCRIPT>
sends to the publish iframe, but it is not.. it is opening a new window
following that execution... a second call is to
parent.hide.location.href = 'index.cgi?z=sd&int=publish';
what is happening is the hide call is working, the publish call is opening a new window, which spawns a new window which shows the result in the new window instead of in the iframe 'publish'
do i need to point these better? how can i get the 'publish' to actually target the 'publish' iframe.. the other one seems to be just fine
any help will be greatly appreciated.. i have tried various combinations and directions to no avail
thank you
I would place a link here but i can't.. its secured content, and requires an account to access it.
there is a popup that opens this popup so the parent is in question at this stage...
I have an iframe named 'publish' and an iframe named 'hide', within a window named 'SD'. 'hide' is just that, processes that do not result in visible page contents, while 'publish' houses the viewable result.. it happens in two js
<SCRIPT language="JavaScript">
function submitform1()
{
document.myForm.target = "publish";
document.myForm.submit();
}
</SCRIPT>
sends to the publish iframe, but it is not.. it is opening a new window
following that execution... a second call is to
parent.hide.location.href = 'index.cgi?z=sd&int=publish';
what is happening is the hide call is working, the publish call is opening a new window, which spawns a new window which shows the result in the new window instead of in the iframe 'publish'
do i need to point these better? how can i get the 'publish' to actually target the 'publish' iframe.. the other one seems to be just fine
any help will be greatly appreciated.. i have tried various combinations and directions to no avail
thank you