Friday, September 18, 2009

How to access parent window element in Javascript

Use the following code to fill a parent window element from child window.

opener.document.getElementById("parentname").value = document.getElementById("childname").value;

No comments:

Post a Comment