I'm trying to make a button that, when clicked, inputs text into a textbox (On the same page)
Here's the textbox:
[input type="text" id="inp0" /]
and the button:
[button onclick="set inp0 test text"]Button[/button]
(The < and > have been changed to [ and ] on purpose, just in case I'd break Yahoo somehow by putting HTML here)
Thanks, Mike! It works! (I'd vote you best answer but the question hasn't expired yet
)
Here's the textbox:
[input type="text" id="inp0" /]
and the button:
[button onclick="set inp0 test text"]Button[/button]
(The < and > have been changed to [ and ] on purpose, just in case I'd break Yahoo somehow by putting HTML here)
Thanks, Mike! It works! (I'd vote you best answer but the question hasn't expired yet
