已知一个php中的变量$table_id,需要在javascript上表示出来以下的写法可行不?alert( '<?php echo $table_id?>' );