Ver Mensaje Individual
  #7 (permalink)  
Antiguo 13/11/2003, 13:15
Yanix
 
Fecha de Ingreso: noviembre-2002
Ubicación: Washington, DC
Mensajes: 822
Antigüedad: 22 años, 4 meses
Puntos: 5
Perdona, me quede leyendo algo y almozando
Aqui está...
Código:
<script LANGUAGE="JavaScript">
<!--
function revisa() { 

if ((document.laforma.elinputuno.value == "") & (document.laforma.elinputdos.value == "")) {
        alert('Ingrese algo.');
        return false;     } else
{
if (document.laforma.elinputuno.value != document.laforma.elinputdos.value)  {
        alert('Por favor revise los valores nuevamente.');
        return false;     } 
else {
        return true;
     }
}}
//-->

</script> 

<form action="laotrapag.cfm" method="POST" name="laforma"> 
<table> 
<tr> 
<td>Valor1</td> 
<td><input type="text" name="elinputuno" value="" size="20"></td> 
</tr> 
<tr> 
<td>Revisar valor:</td> 
<td><input type="text" name="elinputdos" value="" size="20"></td> 
</tr> 
<tr> 
<td colspan="2"><input type="submit" name="Enviar" value="continue" onClick="return revisa();"></td> 
</tr> 
</table> 
</form>
Espero te ayude...el and usalo como un &...
__________________
Yanira