-3

When we open a form in a new window, we would like to click a button to close the window without alert box.

Is it possible?

Any help is appreciated.

Thanks alot

Kenny
  • 1,058
  • 4
  • 20
  • 49
  • have you seen this: http://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi – MikeB Apr 19 '13 at 20:57

1 Answers1

0

if you are talking about window.open() function then just try to use window.close()

Mehdi Karamosly
  • 5,388
  • 2
  • 32
  • 50