Change the value of a textfield located on the parent page?
Posted: Thu Nov 13, 2008 6:23 am
I have a link in an iframe. When I click on it, I want it to write a value on a textfield called article_contentimage which is not located in the iframe but in the page holding that iframe. I tried,
but it doesn't work.<span style="cursor:pointer;" onclick="_parent.newpost.article_contentimage.value ='testing';"><img src="files/images/layout/delete.png" width="16" height="16" border="0" /> Remove Image</span> ]