0

I have tried many thigs as

window.close(), self.close(), var win = window.open("","_self"); win.close();

also tried

function close_window() { if (confirm("Close Window?")) { close(); } }

But finally i did not get solution for this one , as it is our client requirement we have to do it any way , please suggest if any other possible way is there.

ashish
  • 523
  • 4
  • 14
  • 27

1 Answers1

0

i used

window.parent.close(),

and it is working fine now.

but i don want any alert message while closing tab.

ashish
  • 523
  • 4
  • 14
  • 27