I have a jquery function:
$.ajax({
    type: "POST",
    url: "submit.php",
    contentType:'multipart/form-data',
    data: $('#regForm').serialize(),
    dataType: "json",
its work perfectly but image and files will not be send by this. how can I resolve it?
 
    