Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/05/2003, 17:26
Avatar de S I D I U S
S I D I U S
 
Fecha de Ingreso: noviembre-2002
Ubicación: D.F.
Mensajes: 290
Antigüedad: 21 años, 5 meses
Puntos: 0
vamos a usar la funcion sendAndLoad();
Asi Queda Tu Script!


Código:
on (release) {
		if (!nombre.length) {
		EmailStatus = "Por favor, escriba su nombre";
	} else if (!mail.length || mail.indexOf("@") == -1 || mail.indexOf(".") == -1) {
		EmailStatus = "Por favor, escriba un e-mail valido";
	} else if (!tema.length) {
		EmailStatus = "Por favor, escriba el nombre del tema";
	} else if (!grupo.length) {
		EmailStatus = "Por favor, escriba el nombre del grupo";
		} else if (!letra.length) {
		EmailStatus = "Por favor, escriba la letra";
	} else {
		datos = new LoadVars();
		datos.nombre = nombre;
		datos.mail = mail;
		datos.tema = tema;
		datos.grupo = grupo;
		datos.letra = letra;
		datos.onLoad = function(success) {
			status = "EL MAIL YA HA SIDO ENVIADO..." 
		
}
		datos.sendAndLoad("mail.php", datos, "POST");

	}
}


Salud-2
__________________
http://www.execomnet.com

Última edición por S I D I U S; 02/05/2003 a las 17:30