Hi,
Which of the following methods is the better one to use for forms
Simple Sample codes
function onSubmit() {
email = email.text;
name = name.text;
getURL('form.php','','POST');
}
or
function onSubmit() {
var formVars:LoadVars = new LoadVars();
formVars.email = email.text;
formVars.name = name.text;
formVars.send('form.php','','POST');
}
What’s your advice and why??