I am adding file import functionality to an existing page.
I want to do this with javascript and without modifying the page, i.e. without adding an input type = "file" tag, everyone seems to be saying.
I added a button, now I want the event to display a file dialog, the user was viewing the file and javascript to send the file to the server for verification.
How can I do it? Btw, the main priority is to open the file dialog box, so there is no need for the user or sending a part if you do not know this.
thanks
source
share