Lo que quiero hacer es pasarle a una funcion JS un parametro desde PHP.... ok eso es facil.. pero no se si por medio de AJAX es válido hacer eso..
tengo por ejemplo este enlance
Código HTML:
 <a href="#" ajaxx("x") > a </a>
Código HTML:
 function ajaxx(id){
var url = 'pr.php';
var pars = 'nombre='+ id;
var myAjax = new Ajax.Updater( 'central', url, { method: 'get', parameters: pars,evalScripts:true });
}
Código HTML:
 function  nombre(articulo){
	alert(articulo);//Para debuguear
}
Código PHP:
  
$ut=$_GET['nombre'];
print "<script> nombre(<?php = $ut ?>)</script>";   PD: Ya probe tambien con:
nombre(<? print $ut; ?>;
 
 




