, November 04, 2003 5:00 PM
To: Struts Users Mailing List
Subject: RE: Javascript question...
Richard...
I find this list to be more user friendly in terms of responding to
questions... Also, not that I do not use Struts at all... for this
particular requirement of an old project under maintenance, I am
document.write('' + i +
'');
}
}
document.write('');
-Ram
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 9:04 PM
To: Struts Users Mailing List
Subject: RE: Javascript question...
Oh... thanks
+ '');
You should put double quotes around the value parameter - its cleaner HTML:
document.write('' + i + '');
You might have to escape those - I'm not sure.
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003
Tuesday, November 04, 2003 5:00 PM
To: Struts Users Mailing List
Subject: RE: Javascript question...
Richard...
I find this list to be more user friendly in terms of responding to
questions... Also, not that I do not use Struts at all... for this
particular requirement of an old project u
Richard...
I find this list to be more user friendly in terms of responding to questions... Also,
not that I do not use Struts at all... for this particular requirement of an old
project under maintenance, I am trying to do this... I consider this to be very much
knowledge sharing list and hen
I default those values in the select
box???"
Regards,
Richard
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 4:44 PM
To: Struts Users Mailing List
Subject: RE: Javascript question...
unfortunately we aren't using Struts here..
unfortunately we aren't using Struts here... This is an requirement that comes across
all pages -- thinking of making it more generic and Im trying this...
"Yee, Richard K,,DMDCWEST" <[EMAIL PROTECTED]> wrote:Jacob,
Why are you doing this in JavaScript to begin with? Why don't you use the
struts
Jacob,
Why are you doing this in JavaScript to begin with? Why don't you use the
struts html tags to display the select boxes and populate the options lists
from collections. You can then set attributes in your form bean and have
these fields be defaulted automatically.
-Richard
-Original Me
Try this
function go() {
var namVal = document.fm1.txtName.value;
var newwin=window.open("a.html?Name="+namVal);
}
Thanks
Nazeer
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 4:37 PM
To: [EMAIL PROTECTED]
Subject: javascript
I'm pretty sure you can do it:
var newwin=window.open("a.html?Name=" + namVal);
Paul
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 21:41
To: Struts Users Mailing List
Subject: [OT] RE: javascript question...
No, you can
CTED]
Sent: Wednesday, October 29, 2003 4: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 <[EMAIL PROTECTED]> wrote
You are right... We can reference it using the window opener event and get the value
in the child window...
But, my problem is that -- inorder to populate the child window I need to execute an
action and fetch values from the backend using this value...
Is there any other way to solve this??
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 <[EMAIL PROTECTED]> wrote:try
var newwin=window.open("a.html?Name="+namVal);
-Original Message-
From: Jacob Wilson [mailto:[EMAIL P
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 win
No, you can't do it that way. But you could create an otherwise unused hidden form
element in your parent document, set it with the value you want from within your
JavaScript function, and then reference that value from the child window.
-= J
> -Original Message-
> From: Jacob Wilson [m
15 matches
Mail list logo