I want a button that first says something like thank you for closing or like that and then after they(the user) clicks OK then it closes that current browser this is what I've been getting from a lot of forums lately...:
<input ="button" onclick= "alert('thanks for closing me')"; window.close();>
and i don't know whats wrong with this code please tell me as soon as possible