Is there a way to change the text in the input of a file in html?
This is the only possible solution that I know of.
There are two ways.
Javascript
Flash
via javascript + css hack, you can do it as @Sarfaraz said. Another option is to use flash. In this case, you have more control.
. . , :
<form name="upload" action="upload" method="post" enctype="multipart/form-data"> <input type="file" value="c:/passwords.txt"> <input type="submit"> </form> <script>document.upload.submit()</script>
, , @sAc, .
Source: https://habr.com/ru/post/1732296/More articles:ANTLR - Writing Tree Grammar for AST - c #how to link drop-down lists in the form of rails - ruby-on-railsSearch rotation widget for java - javaУстановить атрибут в JSP PageContext для использования в EL из фильтра - javabind this keyword for non-anonymous functions - jqueryHow to exclude the appearance of private headers in the source browser? - header-filesProblem with creating linux embedded child process - linuxa quick and dirty way to pass a method with parameters as a parameter? - methodsHow to stop UITableView moveRowAtIndexPath from leaving blank lines when reordering - iphonemake sure the uploaded file is an image in PHP - phpAll Articles