<script type="text/javascript"></script><script> function chuli(XB){ document.getElementById(XB).value ="1"; var ajax=new Ajax(); ajax.post('ChuLi.php','zuobiao=XB'); alert(XB); }
$a=fopen("hehe.txt","a+");$b=$_POST['zuobiao'];fwrite($a,$b);fclose($a);
ajax.post('ChuLi.php','zuobiao=XB');
改?
ajax.post('ChuLi.php','zuobiao='+XB);
ajax.post('ChuLi.php','zuobiao= XB');
在引号中的,不就是字符吗?
谢谢 看样子 还得去 看下 基础的................