# \[MX\] loadvar opens new window, I don't want this

**URL:** https://forum.kirupa.com/t/mx-loadvar-opens-new-window-i-dont-want-this/152154
**Category:** flash
**Created:** [June 21, 2005, 6:39pm UTC](https://forum.kirupa.com/t/mx-loadvar-opens-new-window-i-dont-want-this/152154 "2005-06-21T18:39:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![novetree](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@novetree](https://forum.kirupa.com/u/novetree)
#### Post date: [June 21, 2005, 6:39pm UTC](https://forum.kirupa.com/t/mx-loadvar-opens-new-window-i-dont-want-this/152154/1 "2005-06-21T18:39:04Z")

</div>

Hi, everything is working great about this script except that it is opening a new browser window when the submit button is pressed. Is this “open window” function in the following script or in the php file that it calls? If it is in the actionscript, how do I stop a new window from opening? Thank you.

```auto
_root.submit.onRelease = function() {
		formData = new LoadVars();
		formData.email = _root.form.mymail_add;
		formData.id = "JerseybandEmailList";
		formData.type = "text";
		formData.send("http://www.jerseyband.com/MyMail/add.php", formData, "POST");
		_root.gotoAndStop(2);
};

```
