You need to sign in to do that
Don't have an account?
Update Field in Parent VisualForce Page from a child VisualForce Page
Hey
I have Parent Page Called X which contains input text which has ID='test' and a button which opens Visual Force page called y in new window
the Y page will display Accounts available in the System , I need when I click on one Account in The Y page it will print the Account Name in the X Page Input text which has the id='test'
I did the below:
<a href='AcountName' onclick=" window.opener.document.getElementbyId('j_id0:myForm:test').value = this.href ">Account Name Example</a>
j_id0:myForm:test is the id of the Input text id='test'.
but this is not working , can anyone help me figure out solution for this.
Thanks
Check this link
http://boards.developerforce.com/t5/Visualforce-Development/Setting-input-field-value-in-from-Two-visualforce-pages-in-same/td-p/326749
hope this helps you