Problem with _blank happening

ok i have this code

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

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

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) :stuck_out_tongue:

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