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> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php