Thread: input help
Results 1 to 2 of 2
Related
-
HTML input question, how do I add an input field to a single URL? Forum: HTML Forum
Replies: 15 -
Get the querystring into input box Forum: Javascript Forum
Replies: 1 -
Help with input script Forum: Website Scripts Forum
Replies: 13
-
07-23-2002, 07:04 AM #1
input help
Hi,
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.
Thanks!
-
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.
Code:<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 theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?