title: How to Open a new tab from Iframe?
body: <p>I have a website build in php, in some page i show a iframe with another website link, which displays it's login screen. </p>
  
  <p>Both Websites are in different domain.</p>
  
  <p>Like main website : <a href="http://www.abcd.com" rel="noreferrer">http://www.abcd.com</a>
  Iframe href : <a href="http://www.xyz.com" rel="noreferrer">http://www.xyz.com</a></p>
  
  <p>Now my users see a page in abcd.com where there is an iframe like 
  <code>&lt;iframe src="http://www.xyz.com/" style="width:688px; height:384px;"&gt;&lt;/iframe&gt;</code></p>
  
  <p>Which displays the login screen of the xyz.com </p>
  
  <p>Now what i want is, if users login to xyz.com another new tab should open with the homepage, after login of xyz.com and abcd.com tab should get close.</p>
  
  <p>Is it possible to do with javascript or jquery, which works for all the browser including IE 7,8,9 ??</p>
  
  <p>Thanks</p>