Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/05/2003, 03:19
Avatar de Helbira
Helbira
 
Fecha de Ingreso: octubre-2001
Ubicación: Sevilla, España
Mensajes: 1.228
Antigüedad: 23 años, 3 meses
Puntos: 5
¿Cómo haces la llamada a a función?

El ejemplo que yo me hice fue el siguiente:

Código:
<html>
<head>
<SCRIPT Language="javascript">
<!--
function Confirmar(id,pagina,registro,usuario)
{
	if(confirm("¿Realmente desea eliminar el "+registro+"?"))
	{
		document.location.href=pagina+".php?action=eliminar&id="+id+"&usuario="+usuario;
	}
}
-->
</SCRIPT>

</head>

<body>
<a href=javascript:Confirmar('1','modulos','registro','yo')>Enlace</a>
</body>
</html>
Un beso