/    Sign up×
Community /Pin to ProfileBookmark

ok i want a submit button to write on a the web site what the person wrote in the text area

so far i got

[code=html]
<form name=”form1″ id=”form1″ method=”post” action=””>
<textarea name=”textarea”></textarea>
<input type=”submit” name=”Submit” value=”Submit” onClick=”document.write(‘ ‘+document.form1.textarea+’ ‘);”>
</form>
[/code]

if you could show what im doing wrong that would be great
everytime i click the submit button all it post on site is [object]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@NeedinghelpauthorFeb 14.2006 — yah something like that because im trying to make a site that lets you build a site and gives you the code for it. So far i know how to get it to change with the options but not with the textarea and i dont want to limit the people that use the site just to the options i give them.
×

Success!

Help @Needinghelp 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 6.18,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...