How do I set a placeholder in the Reader?
txtFilename.placeholder = “EaSp*.ini”
reader.readAsText(txtFilename.files[0])
Second question: Is it possible to reset a selected file so that it can be read again?
Function reader_onload(e)
…
How do I set a placeholder in the Reader?
txtFilename.placeholder = “EaSp*.ini”
reader.readAsText(txtFilename.files[0])
Second question: Is it possible to reset a selected file so that it can be read again?
Function reader_onload(e)
…
Which control are you using to read the file?
You might need to put the placeholder in a Label control next to the input field.
Browsers will want to read a user selected filename. If a web page could choose by itself what file to read on the user’s system, there would be a huge opportunity for misuse.
I use Input with InputType File BS4
Yes, my previous answer stands.