Il pulsante invio:
on (press){
dati = new LoadVars;
dati.nome = nome.text;
dati.cognome = cognome.text;
dati.country = country.text;
dati.college = college.text;
dati.emial = email.text;
dati.telefono = telefono.text;
dati.username = username.text;
dati.password3 = password3.text;
dati.msg = msg.text;
dati.onLoad = function(success){
if (success){
trace(this.msg);
} else {
trace("error");
}
}
dati.sendAndLoad("signup.php", dati, "POST");
}
Non capisco---
dati = new LoadVars;
mancano le parentesi
codice:
dati=new LoadVars();
dati.onLoad = function(success){
dati.onLoad, ovvero su caricamento,ma se non sa di che cosa ?
codice:
dati.sendAndLoad("signup.php", dati, "POST");
dati.onLoad = function(success){ ....}
Fammi sapere ciao