How can I specify the ‘upload a file’ input textbox in a form to be read only so that the user can click on the browse button and pick a file but they cannot type anything into the textbox next to the browse button.

Platform: ASP.NET| Category: Basic

<input id='File1' type='file' contenteditable=false />

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.