Ver Mensaje Individual
  #8 (permalink)  
Antiguo 27/09/2006, 10:07
matisse
 
Fecha de Ingreso: noviembre-2005
Mensajes: 50
Antigüedad: 18 años, 5 meses
Puntos: 0
No lo entiendo, no funciona.



Ahora el codigo que tengo despues de las correcciones es:
enviar = function () {
if (empresa.length && contacto.length && sector.length && direccion.length && ciudad.length && telefono.length && email.length && notas.length && mensaje.length) {
form_lv = new LoadVars();
form_lv.empresa = empresa.text;
form_lv.contacto = contacto.text;
form_lv.sector = sector.text;
form_lv.direccion = direccion.text;
form_lv.ciudad = ciudad.text;
form_lv.telefono = telefono.text;
form_lv.email = email.text;
form_lv.notas = notas.text;
form_lv.mensaje = mensaje.text;

form_lv.sendAndLoad("send.php", form_lv, "POST");
mensaje.text = "Enviando Mensaje..";
empresa.text = "";
contacto.text = "";
sector.text = "";
direccion.text = "";
ciudad.text = "";
telefono.text = "";
email.text = "";
notas.text = "";

form_lv.onLoad = function() {
if (this.estatus == "ok") {
mensaje.text = "Tu mensaje fue enviado...";
empresa.text = "";
contacto.text = "";
sector.text = "";
direccion.text = "";
ciudad.text = "";
telefono.text = "";
email.text = "";
notas.text = "";
} else {
mensaje.text = "Problemas con el servidorn Intentalo de Nuevo";
}
};
} else {
empresa.text = "Dato Necesario";
contacto.text = "Dato Necesario";
sector.text = "Dato Necesario";
direccion.text = "Dato Necesario";
ciudad.text = "Dato Necesario";
telefono.text = "Dato Necesario";
email.text = "Dato Necesario";
notas.text = "Dato Necesario";
mensaje.text = "Dato Necesario";
}
};
borrar = function () {

empresa.text = "";
contacto.text = "";
sector.text = "";
direccion.text = "";
ciudad.text = "";
telefono.text = "";
email.text = "";
notas.text = "";
mensaje.text = "";
};
stop();
enviar_btn.onRelease = enviar;
borrar_btn.onRelease = borrar;



Y al presionar enviar me sale en todas las casillas "·Datos nenecasrios"

No lo entiendo.