让jQuery发布多个查询

i have a jQuery code that posts an ID to another php file

<script type="text/javascript">

$(function() {
   //More Button
   $('.more').live("click",function() {
      var ID = $(this).attr("id");

      if(ID){

         $("#more"+ID).html('<img src="moreajax.gif" />');

         $.ajax({
            type: "POST",
            url: "ajax_more.php",
            data: "lastmsg="+ ID, 
            cache: false,
            success: function(html){
                $("ol#updates").append(html);
                $("#more"+ID).remove();
            }
         });

   }else{
      $(".morebox").html('The End');   
   }    
   return false; 
   });
});

</script>

what i like to know is how can i make it post another query along with "last massage id". i have a mysql query that will out put a valu (pid) how can i post this along with "last massage id". thanks in advanced.

$.ajax({
            type: "POST",
            url: "ajax_more.php",
            data: "lastmsg="+ ID + "&pid=" + your_pid, 
            cache: false,
            success: function(html){
                $("ol#updates").append(html);
                $("#more"+ID).remove();
            }
         });

Here is my solution:

var salji = {
  rate: score,
  image_id: img_id
};

$.ajax({
    type: "POST",
    url: "widgets/rate.php",
    data: salji,
    success: function(msg){
        alert('wow');
    }
});