Hi guys
is is possible to click a link to open a new window and with java automatically close the parent window?
| SitePoint Sponsor |
I think this should work:
function opennewcloseold()
{
window.open(location,name,parameters);
window.close();
};
<a href="javascriptpennewcloseold()">yourlink</a>
i meanOriginally Posted by jpp
Code:<a href="javascript:opennewcloseold();">yourlink</a>
Bookmarks