有帶參數的JavaScript函數:如何在php中使用JavaScript參數?
<script type="text/javascript">
function afficheHelp(aide_htm)
{
... // I want to code PHP here with the parameter "aide_htm"
}
</script>
如何使用javascript函數內的「aide_htm」 PHP代碼中的JavaScript參數?
爲什麼人們不滿意而不發表評論? – RMcLeod 2013-05-03 07:59:12
像這樣的東西會把$ phpVar賦值給你的jscript var aide_htm。 – lukeocom 2013-05-03 08:04:33
downvotes是因爲你可以通過在這個網站快速搜索相關問題找到答案。 – lukeocom 2013-05-03 08:06:18