i m new to jQuery, I need to add a changing name cid
on to $(e.target)
and adopt it to admin_comment.php
...
var cid = some id ; // need to add that to $(e.target) and serialize
$.post( submit/admin_comment.php ,$(e.target).serialize(),function(msg){
}
The php file look as this...
$arr = array();
$validates = Comment::admin_comment_return($arr);
<代码>admin_comment_return 验证案文投入,并将全部固定下来。
i 查阅:$arr [ somefield];
一个人可以解释一下,如何在阵列中添加酸cid,然后使用:
感谢!