It is possible to determine whether a user uses JavaScript / jQuery for a special input type = "file" field. Have a file selected? ?
I have developed a custom fieldprint for Expression Engine (PHP-based CMS) that allows users to upload and store on Amazon S3, but the most popular EE hosting service has a max_file_uploads of 20 Limit is fixed. You want to allow the user to upload 20 files, add more than 20, edit the login again, etc. Unfortunately, to edit the entry, "replace this image" file in the initial 20 files is an input field that may be submitted when uploading a new image when submitting the form, then I will not allow any unused file input field I want to remove
yes - you can read the values and if you want change event Can tie in
& lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Test page & lt; / Title & gt; & Lt; Script src = "http://code.jquery.com/jquery-latest.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; $ (Function () {$ ('# tester'). Change (function () {console.log ($ (this) .val ());});}); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Input type = "file" id = "tester" /> & Lt; / Body & gt; & Lt; / Html & gt; But other, multi-upload solutions that can better meet your needs, such as bpeterson76 have been posted.