Hi all,
I’m a designer trying to do a little scripting, so lease forgive me if my code is sloppy. I’m trying to send an email, something like this:
function sendform(){
if (validate()) {
my_lv = new LoadVars ();
my_lv.subjecttxt = contactcopy.subjecttxt;
my_lv.nametxt = contactcopy.nametxt;
my_lv.emailtxt = contactcopy.emailtxt;
my_lv.companytxt = contactcopy.companytxt;
my_lv.countrytxt = contactcopy.countrytxt;
my_lv.phonetxt = contactcopy.phonetxt;
my_lv.messagetxt = contactcopy.messagetxt;
my_lv.sendAndLoad (“http://www.blabla.com/testing.php”, result_lv, “GET”);
}
}
For some reason, the text formatting from the input text fields (which I’ve done without code) got sent as well, together with the variables. Is there any way that I can strip off the text formatting when using sendAndLoad?
Thanks in advance.
A