![]() |
|||
Trying to automatically put a button value in a textbox..Hello all! I'm trying to put a button value in a textbox. See, a username is a button and when another user wants to send a message to that user it pops up the send message page in which I want the username to be in the "TO:" textbox.
Any help? This is what I have: The button: <input type="submit" onClick="document.location.href='http://revideolution.com/senduser.php'" name="tousercommunity" value="conrad" /> Message on a different page: <label>To:<input type="text" id="tousercommunity" value="<?php print($_SESSION['tousercommunity']); ?>"/> |
