Submit name change
| From: | Anasta | Date: | Mon, 02 May 2005 04:41:02 +0000 |
| Subject: | Submit name change | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214316@lists.php.net to get a copy of this message | ||
I need this to change the value of the button 'sit in' to the name of a
user --it doesnt work so anyone got any ideas or is what i am looking to do
impossible.
Either the button name can show the username or a text field can change from
blank to show the username when clicked.
<FORM ACTION="<?=$PHP_SELF?>" METHOD="GET">
<INPUT TYPE="SUBMIT" VALUE="Sit in"
onClick="JavaScript:showname('<?php echo $uname;?>');
return true;">
</FORM>