peacemaker1820 has asked for the wisdom of the Perl Monks concerning the following question:
IN JAVASCRIPT I HAVE:<input type="text" name="textBox" size="8"> <a href="javascript:priceList('form.textBox.value');">Price List</a>
IN PERL I HAVE:function priceList(text){ win=window.open("cgibin/getPrice.pl?textBox="+text,"","width=250,heigh +t=240") win.creator=self }
use CGI; $q = new CGI; $partNumber = $q->param('textBox'); print ($partNumber);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Retrieving value from HTML->Javascript->Perl
by Speedy (Monk) on Jul 05, 2002 at 23:16 UTC | |
|
Re: Retrieving value from HTML->Javascript->Perl
by dws (Chancellor) on Jul 05, 2002 at 22:06 UTC | |
|
Re: Retrieving value from HTML->Javascript->Perl
by George_Sherston (Vicar) on Jul 05, 2002 at 21:35 UTC | |
|
Re: Retrieving value from HTML->Javascript->Perl
by TexasTess (Beadle) on Jul 07, 2002 at 00:04 UTC | |
by dws (Chancellor) on Jul 07, 2002 at 00:30 UTC | |
by TexasTess (Beadle) on Jul 07, 2002 at 00:52 UTC |