# loadVars question

**URL:** <https://forum.kirupa.com/t/loadvars-question/99528>\
**Category:** Uncategorized\
**Created:** [January 19, 2004, 8:08pm UTC](https://forum.kirupa.com/t/loadvars-question/99528 "2004-01-19T20:08:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markhegz](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@markhegz](https://forum.kirupa.com/u/markhegz)\
**Post date:** [January 19, 2004, 8:08pm UTC](https://forum.kirupa.com/t/loadvars-question/99528/1 "2004-01-19T20:08:40Z")

</div>

i am using loadVars with the send method to send my contact info to a php file. This works fine but when i press the submit button the browser goes to the email.php file. How do i prevent it from opening that file in the browser window?

heres the as  
[AS]  
lv = new LoadVars();  
lv.name = name;  
lv.company = company;  
lv.phone = phone;  
lv.email = email;  
lv.message = message;  
lv.send(“email.php”, “POST”);  
}  
[/AS]
