Thread: input help
Results 1 to 2 of 2
HTML input question, how do I add an input field to a single URL? Forum: HTML ForumReplies: 15
Help with input script Forum: Website Scripts ForumReplies: 13
07-23-2002, 07:04 AM #1
IŽd like to do a form that contains 1 button and 1 'input type=text' and when I click the button, it writes its value inside the input text box.
07-23-2002, 12:06 PM #2
Hiya, welcome to the forums.
try this code -
If I understood what you need correctly this will work. Its just a bodge, tho. If this is a serious thing you are doing you may want to make it into a js function to make it portable. let me know if you need it.
<form method="post" name="myform"> <input type="text" name="mytextbox" size=10> <input type="button" onclick="passme=this.value;document.myform.mytextbox.value=passme;" value="Transfer me"> </form>
Last edited by HTML; 07-23-2002 at 02:11 PM.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?