2020年12月23日星期三

How to check if file's content has been modified before submit form by jQuery?

I have a form to upload a *.docx file, after user select the file, they go back to edit the content of file and save it, then the submit the form without re-select the docx file. It's cause the backend error.

So is there anyway to check if the file's content has been modified before actually submit a form (give user an error notification)?

https://stackoverflow.com/questions/65432790/how-to-check-if-files-content-has-been-modified-before-submit-form-by-jquery December 24, 2020 at 09:06AM

没有评论:

发表评论