RE: Javascript question...

2003-11-05 Thread Yee, Richard K,,DMDCWEST
, 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

RE: Javascript question...

2003-11-05 Thread Ramadoss Chinnakuzhandai
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

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
+ ''); 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

RE: Javascript question...

2003-11-04 Thread Joe Krause
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

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
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

RE: Javascript question...

2003-11-04 Thread Yee, Richard K,,DMDCWEST
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..

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
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

RE: Javascript question...

2003-11-04 Thread Yee, Richard K,,DMDCWEST
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

RE: javascript question...

2003-10-30 Thread Syed, Nazeer
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

RE: [OT] RE: javascript question...

2003-10-30 Thread Paul McCulloch
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&#

RE: javascript question...

2003-10-29 Thread Prashanth Narayanan
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

Re: [OT] RE: javascript question...

2003-10-29 Thread Jacob Wilson
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??

RE: javascript question...

2003-10-29 Thread Jacob Wilson
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

RE: javascript question...

2003-10-29 Thread Prashanth Narayanan
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

[OT] RE: javascript question...

2003-10-29 Thread James Childers
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