Re: Passar el Contenido de variables Php á Javascript

From: Date: Tue, 24 Aug 2004 16:22:16 +0000
Subject: Re: Passar el Contenido de variables Php á Javascript
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-50921@lists.php.net to get a copy of this message
Ingeniándoselas: <?php echo "<SCRIPT language=Javascript> var variable_js = ".$variable_php." ;</SCRIPT>"; ?> ----- Original Message ----- From: pvergara@tqr.biz To: php-es@lists.php.net Sent: Tuesday, August 24, 2004 12:44 PM Subject: Re: [PHP-ES] Passar el Contenido de variables Php á Javascript El Martes 24 Agosto 2004 17:18, Jose Ribeiro escribió: Pues muy facil te crear un atributo hidden con un nombre de clase o de Id y después accedes a dicho valor por javascript. > Ola Lista. > > Por acaso algien sabe si es possible passar el contenido de una variable de Php para una > variable de Javascript. > > Saludos > Jose > > -- ---- Pablo C. Vergara Castro. Departamento de informática. TQR-Software Tlfno.: (+34) 986 11 46 40 Fax: (+34) 986 11 46 50 -- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general.es (#50921) next »