Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Retrieving value from HTML->Javascript->Perl

by peacemaker1820 (Pilgrim)
on Jul 05, 2002 at 20:59 UTC ( [id://179740] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    <input type="text" name="textBox" size="8"> 
    <a href="javascript:priceList('form.textBox.value');">Price List</a>
  2. or download this
    function priceList(text){"cgibin/"+text,"","width=250,heigh
  3. or download this
    use CGI;
    $q = new CGI;
    $partNumber = $q->param('textBox');
    print ($partNumber);