Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-22-2005, 05:55 AM   PM User | #1
chapimp
New Coder

 
Join Date: Dec 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
chapimp is an unknown quantity at this point
Pressing a button everytime I write a letter in inputbox

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


<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>
chapimp is offline   Reply With Quote
Old 03-22-2005, 07:26 AM   PM User | #2
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
You don't need to post twice to get more responses. That's against the forum rules. People are not inclined to help if the poster doesn't follow the rules.
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:33 PM.


Advertisement
Log in to turn off these ads.