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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -