Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/01/2004, 02:31
Avatar de TurKa
TurKa
 
Fecha de Ingreso: enero-2003
Ubicación: Gerli, Avellaneda
Mensajes: 543
Antigüedad: 21 años, 3 meses
Puntos: 4
Este ejemplo es muy sencillo pero puede servirte:

<script languaje="javascript">
function mensaje(form) {
nombre = form.nombre.value;
apellido = form.apellido.value;

mailto = "[email protected]";
asunto = "asunto del mensaje";
body = "Este es el cuerpo del mensaje: Nombre: " + nombre +" | Apellido: " + apellido;

location.href('mailto:'+mailto+'?subject='+asunto+ '&body='+body);
}
</script>
<form name=formulario enctype="text/plain">
nombre: <input type=text name=nombre><br>
apellido: <input type=text name=apellido>
<input type="button" onClick="mensaje(this.form)" value=Enviar>
</form>
__________________
Programación LAMP con Scrum y XP
www.eugeniabahit.com.com.ar