Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Close current browser tab
Srinivas P
May 22 2017 5:46 AM
348
Reply
I have "Exit" button in my page.When ever i clicked on that button,current browser tab should be closed.I wrote below code, this is working in IE browser only but it needs to work in Chrome and Firefox.
Please help me.
$("#btnExit").click(function (event) {
window.top.close();
});
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Delete a certain rows from database after read read the data
How to pass query string from master page to content page?