how to access parent window object using jquery?

javascript, jquery

Solution

window.opener.$("#serverMsg")

Problem

How to acess parent window object using jquery? This is my Parent window variable , I want to set its value after closing child window . ``` $('#serverMsg').html('some text here'); ```

Original source