close window

C

ck

I have a window with "Abort" button, if user decide not to update
data, user can click on Abort button and close the window. I have
tried many ways but fail to close the window.
The web page changes to blank page but dose not close the window.
Please help.
 
J

jerry

I have a window with "Abort" button, if user decide not to update
data, user can click on Abort button and close the window. I have
tried many ways but fail to close the window.
The web page changes to blank page but dose not close the window.
Please help.


hi,

commonly used for closing window is window.close() function, but be
sure the window you want to close
is a child window, means a popup window. if you try to close the
parent window, some will ask if you want to close the window specialy
I.E browser.


thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top