homepage Welcome to WebmasterWorld Guest from 50.19.199.154
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Copy values from one form to another in different window
bauhsoj




msg:1482558
 6:02 pm on Jan 8, 2005 (gmt 0)

I am trying to figure how I can transfer data from a form located in one window to a form located in another window. Both windows are already open. The first window contains the form named 'form1' with the values filled in. A new window named 'second_window' is opened and on it is an HTML page with an empty form named 'form2'. The text input element named 'your_name' in form 'form1' is filled with the value 'John Doe'. I need to get that value in 'your_name' on 'form1' to the text input element in 'form2' named 'realName'.

How could I go about accomplishing the above?

I have been searching the internet on how to do this for weeks but have not found anything that explains it. I am somewhat new to JavaScript and any help would be appreciated.

Thanks!

 

MikeFoster




msg:1482559
 1:59 am on Jan 9, 2005 (gmt 0)

This is an old demo [cross-browser.com], but it might be helpful.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved