I have an file-browser input in my HTML.
I have another button with ID choose-file-button
You cannot do that in all browsers, as far as I am concern only IE allow it. I guess this is due to security issues, so that programmer are disabled to set the file name on the HTML File element automatically(without permission of client).
have a look on this link for more details:
In JavaScript can I make a "click" event fire programmatically for a file input element?
Show input file dialog on load?