I tried to close current tab in my ajax success using following command
window.close();
but that function didn't work, I tried some solutions given in here(stackoverflow) that too doesnt work. It throws the following browser console warning.
Scripts may close only the windows that were opened by it.
Is there any way to close it. kindly suggest any way to close it through javascript/jquery