How to submit an image dynamically along with an existing form? Or even replace the content of a file element?

  Kiến thức lập trình

In this thread, Is this good way how to resize image before upload?,
DevelJoe shows a good way to get a resized image data. But how to upload the data along with an existing form (having other input elements) to the server as another file element? Or even replace the original file with the resized image?

LEAVE A COMMENT