var str = <?php echo json_encode($str) ?>; </script> 需注意, json_encode 出來的字串已經被" " 包住了,所以就不需要在外面再加' ' 或" " 了。
確定! 回上一頁