close browser window using jquery

looking for a function which closes the current window in all major browsers, especially firefox, IE 6 7 8 , safari
manivineetAsked:
Who is Participating?
 
tpraveenrajCommented:
Browsers won't allow you to do that. You can only close a window that was created with _javascript_. Why would you want to close a normal browser window?
0
 
StealthyDevCommented:
jQuery is JavaScript and some things cannot be replaced by jQuery.
 What does't not work properly with that? If I remember correctly, only
 the opener and the window itself can close a popup window.

Ref:
http://groups.google.com/group/jquery-en/browse_thread/thread/9133ad8412489aaf?pli=1
0
 
manivineetAuthor Commented:
thnkx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.