Hi,
Please try to use var win = window.open('', '_self'); win.close();
<a href="#" onclick="javascript:var win = window.open('', '_self');win.close();return false;">Close</a>
Here is a blog for your reference:
http://ift.tt/1vImB1h
Best Regards
Dennis GuoTechNet Community Support
No comments:
Post a Comment