Im sorry guys... this way works...
var newwin=window.open(a.html?Name=+namVal);
Rabago, Hubert [EMAIL PROTECTED] wrote:
What error were you getting here?
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:44 PM
To: Struts Users Mailing List
Subject: RE: javascript question...
Thanks Narayanan -- I tried this b4, but this will throw an error...
Actually, you need to pass a total string into the open method
Prashanth Narayanan
wrote:
try
var newwin=window.open(a.html?Name=+namVal);
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 4:37 PM
To: [EMAIL PROTECTED]
Subject: javascript question...
Hi...
Is it possible to send a value of a form element from the parent window
to the child window like this???
function go() {
var namVal = document.fm1.txtName.value;
var newwin=window.open(a.html?Name=namVal);
}
[input]
[input]
The above does not work... it will give me 'namVal' as the value rather
than the actual typed in value when I try to get
request.getParameter
How can I achieve this functionality??? I need to pass a form element
value when opening a new window. This value is essential at this point
coz I perform an action based on this value and then bring the pop up
page
Suggestions requested please...
Thanks!
Jacob
-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears