Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/03/2005, 06:16
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola cacerola

Prueba esto:

<head>
<script language="Javascript">
function preguntar(txt){
confirmar=confirm("¿quieres ver el enlace "+txt+"?");
if (confirmar)
alert('Aceptaste SI')
}
</script>
</head>

<body>
<a href="javascript:preguntar('1')">Ver enlace1</a>
<a href="javascript:preguntar('2')">Ver enlace2</a>
</body>

Saludos,