javascript - How to hide filepath input file? -
i need javascript , html guess.
i have input file button can choose image , upload it, want remove "filepath" name, or @ least hide it. possible do, if how do that?
i able hide "no file chosen" using
but not able same hiding filepath.
i've tried use that, , use onclick
, 1 nothing seems work.
use display none input type file, , include button id='x' in page.
add eventlistener click on button x , when trigger onchange event input type file. works.
Comments
Post a Comment