I want to buld custom file upload system like dropzone.js....
Without <input> tag... 
I build this: 
var fileSelector = $('<input type="file" name="imageToUpload" id="imageToUpload">');
$(document).ready(function() {
  $("#imageToUpload").hide();
  $("#uploadDiv").on("click", function() {
    fileSelector.click();
  });
});.uploadDiv {
  border: 2px dotted lightblue;
  height: 100px;
  margin-top: 100px;
}
.uploadDiv:hover {
  cursor: pointer;
  border: 2px solid lightblue;
}<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="uploadDiv" id="uploadDiv">
  <small>Click to select <strong>image</strong> for upload.</small>
</div>But how i can take file and work with php and ajax?
 
    