In the Jquery code below, how do i send the "id" variable along with the "file" variable to process.php.
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function(e) {
  $('#profile-img').attr('src', e.target.result);
}
var file = new FormData();
var id = 56;
file.append('file',input.files[0]);
$.ajax({
            url: "process.php",
            type: "POST",
            data: file,
            processData: false,
            contentType: false,             
            success:function(data){
            alert(data);
            }
        });
reader.readAsDataURL(input.files[0]);
} }
 
    