Forum Moderators: open

Message Too Old, No Replies

Writing to a form

writing to a form

         

steve28

8:49 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Hi guys.

I want to be able to click on a link that opens a new window and write a value into one of the fields on the form that opens in the new window.

Is this possible? Can anyone show me how to do this using javascript? I've searched the internet for this, but since I am a complete amateur, I don't know where to begin. Any help would be appreciated.

Thanks.

Rambo Tribble

2:42 am on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not only is it possible, it probably could be accomplished more than one way. But, first, a question: What will be the source of the form that appears in the window? Is it a separate file, or will it be generated within the script?

steve28

3:05 am on Apr 8, 2005 (gmt 0)

10+ Year Member



At the moment I've created a separate file with the form on the page. What I want to do is write in a value into one of the fields when the popup window is launched.