Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Close current browser tab
Srinivas P
7y
359
1
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();
});
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?