Live Chat Icon For mobile
Live Chat Icon

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

Share on twitter
Share on facebook
Share on linkedin