View Full Version : Pressing a button everytime I write a letter in inputbox

03-22-2005, 05:55 AM
Does anyone has an idea how to
activate the button every time I type something in the inputbox. [onkeyup,down,etc]

I want to run whatever onclick function the button has
everytime I type any word in the input box.

In this next link sample that I give there are some input boxes on top of the DrawTable button and some other boxes in the bottom. the values for those boxes come from different javascripts but when I press the DrawTable button,
i get the result in the parent frame from all the input boxes combined.

This is the link of a prototype of my purpose (http://centurion.goldeye.info/ddd/table-maker%20frames.html)

<form name="inputForm">

<input type="text" size="10" >

<input type="button" value="button" onClick="javascript:document.inputForm['test1'].value+='MY TEXT';">

<textarea name="test1"></textarea></form>

03-22-2005, 07:26 AM
You don't need to post twice (http://www.codingforums.com/showthread.php?t=54857) to get more responses. That's against the forum rules. People are not inclined to help if the poster doesn't follow the rules.