title: Get parent formname on child window using jquery?
body: <p>i have below form tag on parent page  from which i open a popup. i want to get form Name attribute value(i.e "cust-100" ) on popup screen</p>
  
  <pre><code>&lt;form  action="/custAction" formName="cust-100"&gt;
  </code></pre>
  
  <p>i tried  below</p>
  
  <p><code>self.opener.document.$('[name="formName"]').val()</code> but it gives error</p>
  
  <pre><code>TypeError: self.opener.document.$ is not a function
  </code></pre>