REFERENCE FORM VALUE?
| From: | Michael Lukson | Date: | Wed, 24 Sep 2003 20:27:59 +0000 |
| Subject: | REFERENCE FORM VALUE? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21545@lists.php.net to get a copy of this message | ||
I'm a total newbie at this stuff. But if you had a simple function to which
you wanted to pass a form input type text value too how would you do it?
I tried the following:
<?
testfunction(document.all.form1.text1)
?>
but all that does is pass the a string to the function. How do you
reference html elements not in the php script section as a php function
parameter?
Thanks!