essjay_d12 Posted June 6, 2007 Share Posted June 6, 2007 I have a form and one of the fields has a button that opens a pop-up window - there are urls here and when the user selects the url the url is needed to be sent back to the original form into the field. At the moment i have it doing it but into a fresh page (problem here is that any values user had put into the other form fields will have dissapeared) Is this possible to do? if so how? cheers d Link to comment https://forums.phpfreaks.com/topic/54407-form-needs-to-get-value-from-pop-up-window/ Share on other sites More sharing options...
mainewoods Posted June 7, 2007 Share Posted June 7, 2007 you can alter the field in the original window from the opened window: window.opener.formname.fieldname.value = "value"; do that in the opened window just before closing it Link to comment https://forums.phpfreaks.com/topic/54407-form-needs-to-get-value-from-pop-up-window/#findComment-269625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.