Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/07/2010, 08:59
Leogl
 
Fecha de Ingreso: noviembre-2009
Mensajes: 113
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Pasar valor de Variable php a Java

me dice error de syntaxis el explorer.
Código PHP:
Ver original
  1. <?php echo "
  2.      <script language='javascript'>
  3.      function recargar(id){    
  4.      var variable_post=;
  5.          $.post('miscript.php', { variable: id }, function(data){
  6.          $('#recargado').html(data);
  7.          });        
  8.      }
  9.      </script>
  10.      "; ?>

en esta liniea :
Código PHP:
Ver original
  1. $.post('miscript.php', { variable: id }, function(data){