Kannan AU

Kannan AU

  • NA
  • 57
  • 24.5k

How to close the Current opened Tab and go back to previous

Mar 13 2019 7:50 PM
Dear All,
I am new to Jquery, Please help me how to close the Current opened Tab in a application using Jquery on click of YES/Confirm button in a model window as shown in a image.
I have tried below function, its not closing current tab instead it closed all the tabs. Please help me
window.open('', '_self').close();
window.top.close();
window.close();

Attachment: CloseCurrentTab.zip

Answers (4)