TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Adalat Khan
655
1.5k
865.8k
The Window.close Method not working in Chrome and Firefox
Jul 14 2019 3:45 AM
I am closing a current browser window when i click on button. Following is my Javascript code in button click:
function CloseApplication() {
window.open("", "_self").close(); //It work only in Internet Explorer
}
My above code is working only in Internet Explorer but it does not work in Chrome and Firefox. Please give me any solution of this so that i can close browser window in Chrome also. Thanks
Reply
Answers (
2
)
How to cancel bind-data in a Modalform
How to use MS OneDrive for file uploading and downloading