rukawa respondió:
<body> <? $vector_php=array(1,2,3,4); $texto=""; for ($i=0;$i<count($vector_php);$i++) { if ($i=0) $texto=$vector_php[$i]; else $texto.=",".$vector_php[$i]; } ?> <script>pasa_vector('<? echo $texto; ?>');</script> </body> <script> function...