How to pass value from parent to child window field.
I use window.open(“www.google.com”);
after popwindow is opened i need to pass/set search value typed in parent window to child window(www.google.com)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set a reference using the window.open() method:
Then treat childWin as a whole other window. For example,
will give you a reference to an element with ID of “searchField”. Etc. Rinse and repeat.