当我单击一个按钮时,它会创建一个变量 $var 然后我想将此 var 发送到 php 来处理它。
例子:
在 Jquery.js 中
$('#button').click(function(){
//create the var
$name = "abcde";
//send the $name to process.php
---I DONT KNOW HOW---
});
在 process.php 中
只是...
echo $name;
如何发送 $name ???