如何将js变量赋值给phpphp变量赋值给js就比较容易,如 var aaa='<?php echo $ddd>'js变量赋值给php,就得用ajax方式了$.ajax({type : "post"2023-02-21JavaScript230