make jQuery post more then one query
<p>i have a jQuery code that posts an <code>ID</code> to another <em>php</em> file</p>

<pre><code>&lt;script type="text/javascript"&gt;

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

      if(ID){

         $("#more"+ID).html('&lt;img src="moreajax.gif" /&gt;');

         $.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; 
   });
});

&lt;/script&gt;
</code></pre>

<p>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. </p>
