I want the file input will automatic upload my image without enter any submit button.
You can submit the form on the file input's onchange event, like this:
$("input[name=upload]").change(function() { $(this).closest("form").submit(); });