Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: targeting popup windows
- From: javascript@xxxxxxxxxx (Bill Marriott)
- Subject: [Javascript] Re: targeting popup windows
- Date: Tue, 23 Oct 2001 12:24:19 +1000
Hi Everyone,
I'm having trouble getting a document (myhelp) to load in a popup window
(helpPop).
Because I need to post a variable before the document is loaded (to filter
the records)
I am using a form.
<FORM METHOD=POST Name="helpForm" ACTION="$WEB_HOME" TARGET="helpPop">
<INPUT TYPE="hidden" name="PAGE" Value=5>
and Javascript to build the new window. ( by the way $WEB_HOME and MIval
are Informix)
var helpPop;
function showHelp()
{
helpPop = open("","","SCROLLBARS=YES,RESIZABLE=YES,WIDTH=450,HEIGHT=500,LEFT=350,TOP=50");
if (!helpPop.opener) helpPop.opener = self;
document.helpForm.MIval.value='myhelp';
document.helpForm.submit();
}
However the document opens in another window, after the blank helpPop window opens.
Can anyone see what I'm doing wrong?
thanks
Bill
- References:
- [Javascript] controlling layer visibility from another page
- From: Winsome Morgan
- [Javascript] controlling layer visibility from another page
- From: Andrew Gibson
- [Javascript] controlling layer visibility from another page
- Prev by Date: [Javascript] controlling layer visibility from another page
- Next by Date: [Javascript] Re: Using JS to run program on client
- Previous by thread: [Javascript] controlling layer visibility from another page
- Next by thread: [Javascript] Re: Using JS to run program on client
- Index(es):