sending other input with $_FILES php
<p>Im uploading a file using the following jquery..</p>

<pre><code>  function ajaxFileUpload(jobid)
   {
 $("#loading")
 .ajaxStart(function(){
  $(this).show();
 })
 .ajaxComplete(function(){
  $(this).hide();
 });

 $.ajaxFileUpload
 (
  {       
   url:'addjobrpc.php',
   secureuri:false,
   jobID:jobid,
   fileElementId:'fileToUpload',
   dataType: 'json',
   success: function (data, status)
   {
    $('#imageid').val(data.imageid);
    if(typeof(data.error) != 'undefined')
    {
     if(data.error != '')
     {
      alert(data.error);
     }else
     {
      alert(data.msg);
     }
    }
   },
   error: function (data, status, e)
   {
    alert(e);
   }
  }
 )

 return false;

}
</code></pre>

<p>My form looks like this...</p>

<pre><code>&lt;form name="form" action="" method="POST" enctype="multipart/form-data"&gt;
</code></pre>

<p>I get the filename with $_FILES['fileToUpload']['name']; but how would I get a input that is not part of the file upload? For example Jobid is a hidden field but I can't seem to get the value in addjobrpc.</p>

<p>Thanks</p>
