我一般是用php輸出一個隱藏div<div id='value1' style="display: none;">PHP值</div>,然后用js a = $("#value1").text();請問有稍微聰明點的辦法嗎?
php怎么給js傳值呢?
狐的傳說
2018-12-12 16:17:00