the current xmlhttp function i am using is passing a very tiny int to the php file for processing using the GET method.
xmlhttp=GetXmlHttpObject();
     if (xmlhttp==null)
     {
      alert ("Browser does not support HTTP Request");
      return;
     }
     var url="user_submit.php";
     url=url+"?vote="+value;
     url=url+"&sid="+Math.random();
     xmlhttp.onreadystatechange=stateChanged;
     xmlhttp.open("GET",url,true);
     xmlhttp.send(null);
     function stateChanged()
     {
       if (xmlhttp.readyState==4)
       {
       document.getElementById("captionbox").innerHTML=xmlhttp.responseText;
       }
     }
now i want to process a comment box in this ajax request, which i suppose would require a POST call? can anyone help me with this?
i need to send the contents of the comment box through this ajax request to the php file for processing and then adding into the DB.