我想更新我的聊天表通知列。 但似乎我有一个错误的ajax脚本或PHP脚本

Ajax Code where I want to submit my empid and ownid to markread.php to use as a $_POST['empid']; and $_POST['ownid'];

<script>
    $(document).ready(function(){    
       $(".chatlist").click(function(){
           var name = $(this).data('fullname');
           var empid = $(this).data('employeeid');
           var ownid = $('#yourownemployeeid').val();

           $.post('chat/markread.php', {empid: empid,ownid: ownid}, function(){
              //majority of code here...
           });    
       });
    });
</script>

Php Code

<?php

    include("../connection.php"); 
    $id = $_GET['empid'];
    $id2 = $_GET['ownid'];

    mysql_query("UPDATE chat SET notification = 'Seen'  WHERE recievernumber = '$id' and senderenumber = '$id2'");

?>