html - How to put "No file chosen" text under a button -
i need under not next button. there easy way that?
<input type="file" size="45">
how solution this
<input type="file" id="selectedfile" style="display: none;" onchange="document.getelementsbytagname('p')[0].innerhtml=this.value;"/> <input type="button" value="browse..." onclick="document.getelementbyid('selectedfile').click();" /> <p>no file chosen</p>
an example: https://jsfiddle.net/366tjfvn/1/
ref: how hide text field in html file upload
updated to: ismael miguel
Comments
Post a Comment