- Create Account

Transfer data from a popup...

Forums > Other DHTML / JavaScript > Transfer data from a popup...
Author
Message

1) abhai2k Group: Members
Posts: 1 Joined: 19 May 2006 Location: IP: 59.144.--.--
He i am writing this script for a gallary... Now there is an order form like this :
1. Name
2. Photo Chosen
blah blah...
Now next to the photo chosen there is a link which will open a popup with the photos. All we have to do it click on it and the value ( photo name )will get automatically inputed in the form ( kinda like any js rich text editor wher smily is inputed) i am a php guy so please shed some light...

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
Either use a regular popup window, in which the object "window.opener" refers to the parent window (so you can modify its document), or try a fake "dhtml popup" type script that pops up a DIV in the current window (perhaps a better approach these days).

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.