Ver Mensaje Individual
  #10 (permalink)  
Antiguo 17/02/2010, 16:40
Avatar de Carlangueitor
Carlangueitor
Moderador ლ(ಠ益ಠლ)
 
Fecha de Ingreso: marzo-2008
Ubicación: México
Mensajes: 10.037
Antigüedad: 16 años, 1 mes
Puntos: 1329
Respuesta: quiero que me apareza un mensaje despues de haber usado un formulario

Puedes usar dos funciones en el OnSubmit:

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
  3.     <head>
  4.         <title>Pruebas de Javascript</title>
  5.         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  6.         <script type="text/javascript">
  7.             function ventanasecundaria(url) {
  8.                 window.open(url,"ventana1", "width=250,height=50,scrollbars=NO")
  9.                 }
  10.                
  11.             function otrafuncion() {
  12.                 alert("Hola");
  13.                 }
  14.         </script>
  15.     </head>
  16.     <body>
  17.     <form action="#" onSubmit="ventanasecundaria('form.html'); otrafuncion();" >
  18.     <input type="text" />
  19.     <input type="submit" />
  20.     </form>
__________________
Grupo Telegram Docker en Español