-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,068
  • 4
  • 19
  • 47
  • 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,162
  • 2
  • 27
  • 48