Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CGI & javascript newbee question

1 view
Skip to first unread message

Hien Chau

unread,
Jun 8, 2005, 2:56:50 AM6/8/05
to perl-ja...@perl.org
Hi,

I have my form with a text field as follows:

<input name="STATIC_TEXT" type="text">

and button that calls a javascript function to create
this text field.

<input name="DYNAMIC_TEXT" type="text">

Both text fields have some text on them.


on my CGI action, I have some codes like this.

my $page = CGI->new;
my $static_text = $page->param("STATIC_TEXT");
my $dynamic_text = $page->param("DYNAMIC_TEXT");

The result is $static_text has expected text, but
$dynamic_text is empty. Could anybody give some
advices on this.

Thanks, Hien



__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

0 new messages