> I have a form, and with the form, I have a link that when > clicked, spawns a pop-up window. > > From within that popper, I want to read a form value ... > > Shouldn't this: > > alert(parent.form1.ITEM_ID.value); > > Give me that value? > > Obviously, the answer is no, because it's not working for > me. > > So the question is, How?
Use window.opener: alert(window.opener.document.forms["form1"].ITEM_ID.value); Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

