Search
 
SCRIPT & CODE EXAMPLE
 

HTML

javascript upload file without input

<style>
 input {
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
}
</style>

<input type="file" name="somename" size="chars">
<button>Choose File</button>

<script>
$('button').click(function(){
    $('input').click();
});
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: same form two submits 
Html :: cards vuetify 
Html :: website html css 
Html :: how to select only one checkbox in html 
Html :: html default arrow remove 
Html :: fork me github ribbon code html css 
Html :: Bootstrap 4.6 Starter Template | bootstrap starter template 
Html :: random user image url 
Html :: html how to give false link 
Html :: html new line 
Html :: sweet alert js 
Html :: request html nodejs 
Html :: html gif not showing 
Html :: html to markdown 
Html :: html mark tag 
Html :: div tag in html 
Html :: html special characters 
Html :: html5 number integer 
Html :: how to make option colour black in html 
Html :: how to use npm packages in html 
Html :: vue paragraph not showing when class applied to it 
Html :: change text color exactly one word inside text html 
Html :: how to select every element except first 
Html :: email reply link html 
Html :: collapse boostrap 
Html :: html input date format 
Html :: what is attributes in html 
Html :: shopify liquid for loop 
Html :: twig form row label 
Html :: <= meaning 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =