You would just use some Javascript such as the following :

document.<form name>.<field name>.value = <your new data>

where <form name> is the NAME attribute of your <FORM> tag, <field 
name> is the NAME attribute of your form field and <your data> is the 
value that you are trying to assign to it, in this case your users 
entered data.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 14 June 2001 19:04
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: Re: Perl and Javascript
> 
> 
> How are you doing that?
> 
> Mark Bergeron
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Date: Thu Jun 14 10:59:51 PDT 2001
> Subject: Re: Perl and Javascript
> 
> >What I've had luck doing is setting the value of an INPUT 
> type field on the form (hidden or not) with the JavaScript 
> and then I can pass that value on as a normal 'param'.
> >
> >Stanley G. Martin
> >Midwest Consulting Group
> >Sprint Platform & Strategy Mgmt
> >913.315.3133
> >[EMAIL PROTECTED]
> >
> > -----Original Message-----
> >From:        Eric.Gargantiel [mailto:[EMAIL PROTECTED]] 
> >Sent:        Thursday, June 14, 2001 12:47 PM
> >To:  perl-win32-users
> >Cc:  Eric.Gargantiel
> >Subject:     Perl and Javascript
> >
> >Hello,
> >     I've been working with HTML embedded in PERL scripts. I 
> came upon a
> >situation where I would like to use a javascript prompt that 
> would ask for
> >data, say a "name". In which case, I would then use that piece of
> >information as a parameter to run another script. I've been 
> having problems
> >exporting the value in a javascript variable back to the 
> actual PERL portion
> >so I can use it again later. If anyone could please provide 
> me with an
> >example of such, i would greatly appreciate it. 
> >     Thanks in advance.
> >
> >Erick
> >
> >
> >
> >
> >_______________________________________________
> >Perl-Win32-Users mailing list
> >[EMAIL PROTECTED]
> >http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> 
> /~_. _ | _ _  _  _ 
> \_/|(_||| | |(_)| |
>      _|
> ___________________________________________________
> GO.com Mail                                    
> Get Your Free, Private E-mail at http://mail.go.com
> 
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> 

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to