1
私は、このファイル入力をしました:更新入力[タイプ=ファイル]の状態変更ファイル
<input type="file" id="fileSelector" multiple="true">
私は、この入力内のファイルを追加または削除した場合、それはそのテキストを更新しません。
fileSelector.files = [];
例えばそのテキストは、「選択した2つのファイル」であると私はfiles
配列を変更した場合、それはこのテキストを更新しません。
このテキストを更新するには?
@nicematt関連情報http://stackoverflow.com/questions/29841147/input-file-to-array-javascript-jquery/、http://stackoverflow.com/questions/38580177/how -to-work-with-filelist-from-input-type-file-in-javascript / – guest271314