Keep It Simple, Stupid | |
PerlMonks |
Re: Retrieving value from HTML->Javascript->Perlby Speedy (Monk) |
on Jul 05, 2002 at 23:16 UTC ( [id://179761]=note: print w/replies, xml ) | Need Help?? |
Perhaps the problem is in getting the value of "textBox" passed in the JavaScript function call. Try reading the value in the JavaScript function rather than passing it. This also would give you the chance to test for no value or improperly formatted values being entered.
For example, in your HTML code, try something like:
with about the same Perl script, for example:
The pop-up window then contains the value entered. Speedy Live in the moment
In Section
Seekers of Perl Wisdom
|
|