I have a close link on my web page. I would like to function it to close the current tab when click it. I have written
<a href="#" onclick = "javascript:self.close();">close</a>
The above code seems to be working well in Internet Explorer. But it is not working in Mozilla Firefox and Google Chrome. Please help me to resolve this.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…