title: Is there any way to pass the focus back to parent window tab from child window in firefox and IE
body: <p>Is there any way to pass the focus back to parent window tab from child window in Firefox and IE.</p>
  
  <p>Following code works fine in Chrome and closes the child window as well. But in Firefox and IE it passes focus only when there in single tab in parent window. If multiple tabs are there and some other tab is in front then it do not change the focus to the desired parent window tab which is the original window tab that had opened the child window.</p>
  
  <pre><code>function onButonClick() {
              var win = window.open('', window.opener.name);
              win.focus();
              open(location, '_self').close();
          }
  </code></pre>