# Close button code?

**URL:** <https://forum.kirupa.com/t/close-button-code/55289>\
**Category:** flash\
**Created:** [June 22, 2004, 5:43pm UTC](https://forum.kirupa.com/t/close-button-code/55289 "2004-06-22T17:43:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fiery\_rockstar](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@fiery\_rockstar](https://forum.kirupa.com/u/fiery_rockstar)\
**Post date:** [June 22, 2004, 5:43pm UTC](https://forum.kirupa.com/t/close-button-code/55289/1 "2004-06-22T17:43:15Z")

</div>

I’m currently using the following code:

Code:  
on (release) {getURL(“javascript:window.close();”);}

to make a button close the window on a feedback form, but when click another pop up comes up saying “the browser is trying to close to the window, do you want to close the window” or something like that. Is it possible to just make the window close without this pop up?
