# Close button

**URL:** <https://forum.kirupa.com/t/close-button/55286>\
**Category:** Uncategorized\
**Created:** [June 22, 2004, 5:09pm UTC](https://forum.kirupa.com/t/close-button/55286 "2004-06-22T17:09:01Z")\
**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:09pm UTC](https://forum.kirupa.com/t/close-button/55286/1 "2004-06-22T17:09:01Z")

</div>

I’m currently using the following code:

```auto
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?
