<script type="text/javascript">
function insert_comment(id)
{
var comment_des = $("#comment_text_"+id).val();
var fk_post_id = $("#fk_post_id_"+id).val();
var post_user_id = $("#post_user_id_"+id).val();
var user_id = $("#user_id_"+id).val();
$.post('ajax_files/insert_comment.php',
{comment_des:comment_des,user_id:user_id,fk_post_id:fk_post_id,post_user_id:post_user_id},函数(数据){ $("#ajaxdata").html(数据);
});
}
</script>