Answers for "file upload empty validation in jquery"

2

javascript clear file input

document.getElementById("myFileInputID").value = null;
Posted by: Guest on August-01-2019
0

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>
Posted by: Guest on January-10-2020

Code answers related to "file upload empty validation in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language