# Problem with \_blank happening

**URL:** https://forum.kirupa.com/t/problem-with--blank-happening/9940
**Category:** flash
**Created:** [December 21, 2002, 6:41am UTC](https://forum.kirupa.com/t/problem-with--blank-happening/9940 "2002-12-21T06:41:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![slayerment](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@slayerment](https://forum.kirupa.com/u/slayerment)
#### Post date: [December 21, 2002, 6:41am UTC](https://forum.kirupa.com/t/problem-with--blank-happening/9940/1 "2002-12-21T06:41:37Z")

</div>

ok i have this code

```php
myData.send("mail.php", 0, "POST");

```

on a button. everything works ok except a new window pops up as if i put “\_blank” as the target. ive tried stuff like

```php
myData.send("mail.php", "", "POST");

```

and still no luck. i dont want any window to open anywhere. i just want my data sent. Anybody know how to fix this? thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 21, 2002, 6:43am UTC](https://forum.kirupa.com/t/problem-with--blank-happening/9940/2 "2002-12-21T06:43:04Z")

</div>

I’m not a PHP guru or anything, but did you try using the “GET” method? (most likely not even on the same track as you) 😛

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 21, 2002, 7:59am UTC](https://forum.kirupa.com/t/problem-with--blank-happening/9940/3 "2002-12-21T07:59:05Z")

</div>

ya gets if i was recieving variables. im sending a simple contact form with post. thanks for the reply though. anymore ideas?
