Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/08/2008, 02:54
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años, 2 meses
Puntos: 326
Respuesta: de php a javacript

puedes poner esto:

Código PHP:
<?php 

$variable 
base64_encode($_POST['tudatos']);

?>
<script>
function muestraVar(miString) {
alert(miString);
}
</script>

<html>..........<a href="#" onClick="muestraVar('<?php echo $variable;?>');">Mostrar</a>
O algo así, creo