/    Sign up×
Community /Pin to ProfileBookmark

Form values to new window using javascript?

Ive got an xhtml document containing a form for the user to fill.
In that document i also have a javascript document to validate the data
and check for any empty fields.

My question:
Is it possible by clicking on the form submit button, a new window to be displayed containing what the user has entered in the form of the previous window?
i.e transfer the form values from one window to another ?

all this just by using javascript.. Can i do that?

Thanks a alot

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@holyhttpMay 07.2007 — First you have to name the woindow where the form data will be transferred.

Then windowname.htmlElementname.value=.....
×

Success!

Help @Dinos126 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.8,
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,
)...