how to enter through a button that is closed in a html code
snippet in html

how to enter through a button that is closed in a html code

user6628

<button type="button" 
        onclick="window.open('', '_self', ''); window.close();">Discard</button>