这是我的代码
<script type="text/javascript">
function countNumber(){
var number = 10;
document.getElementById("n").innerHTML=number;
}
</script>
<body onload="countNumber()">
<?php
$a = "?"; //<-- here i want to get the innerHtml of the "n"-id-element
echo $a+1;
?>
</body>
如何在 $a 初始化时访问 HTML 数据?