Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Retrieving value from HTML->Javascript->Perl

by George_Sherston (Vicar)
on Jul 05, 2002 at 21:35 UTC ( [id://179749] : note . print w/replies, xml ) Need Help??

in reply to Retrieving value from HTML->Javascript->Perl

Apart from your not using strict (which I and I should think everyone else round here would encourage you to do), I don't think there's a problem with your Perl. If you're outputting to a web browser you'll need
print $q->header, $partNumber;
but you probably knew this.

I think the problem is likely to be in your jscript, and two possibles are
  • I think form.textBox.value should perhaps not be in quotes
  • Do you need cgi-bin instead of cgibin?

George Sherston