/    Sign up×
Community /Pin to ProfileBookmark

PLEASE HELP: javascript i need.

hello, my names ryan. i have searched and tryed my best to code javascript but i am rubbish! so i hope the members here can help me out.

[B]What am i looking for?[/B]
i am looking for a peice of javascript that will get the values of a text form feild and display it else where on the page. But i want it to display it as the user is typing. so if the user types “hello” on the page will show “hello” is this possible if so i need some code that could do it because i know very little about javascript thanks! in advance.

regrads,
ryan houston

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@grifter7Sep 13.2009 — <i>
</i>&lt;script&gt;
display(){
document.getelementById['display'].value=document.getElementById['writein'].value
}
&lt;/script&gt;
&lt;form&gt;
&lt;textarea onChange="display()" id="writein"&gt;
&lt;/form&gt;
&lt;form&gt;//different form
&lt;textarea id="display" value=""&gt;
&lt;/form&gt;

that will do it for you
Copy linkTweet thisAlerts:
@ryanhoustonauthorSep 13.2009 — Thank you very much!
Copy linkTweet thisAlerts:
@ryanhoustonauthorSep 13.2009 — this is not working for me why is this? im inserting it into a php file is that ok?
Copy linkTweet thisAlerts:
@grifter7Sep 13.2009 — im sorry im tired that is terrible please forgive ?. Ill try tommorow
Copy linkTweet thisAlerts:
@ryanhoustonauthorSep 14.2009 — No Problem, Thanks for trying anyways friend.

Regards

Ryan Houston
Copy linkTweet thisAlerts:
@ryanhoustonauthorSep 14.2009 — Can anybody get back to me on this please?...
Copy linkTweet thisAlerts:
@ryanhoustonauthorSep 15.2009 — take it everybody is stumped on this one?
×

Success!

Help @ryanhouston spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...