ãè¨æ£çã PHPããJavaScriptã«å¤æ°ã渡ãæ¹æ³ãã¾ã¨ãã¾ããã 2015.06.03 åºæ¬å½¢ãä¿®æ£ãã¾ããï¼ã³ã¡ã³ãæ¬ãåç §ã®ãã¨ï¼ 2015.04.21 json_encode()ã«ã¤ãã¦å çãã¾ããã 2015.04.20 jQuery.data()ã使ã£ãæååã®åå¾å¨ãã«èª¤ãããã£ãããä¿®æ£ãã¾ããã 2015.04.19 tadsanããããã®ææãåãã¦ã¨ã¹ã±ã¼ãå¨ãã®è¨è¿°ãä¿®æ£ãã¾ããã åºæ¬å½¢ <?php $array = array("hoge" => "fuga"); ?> <script> var array = <?php echo json_encode($array, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); ?>; console.log(array); // Obj
{{#tags}}- {{label}}
{{/tags}}