Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript upload file button

document.getElementById('buttonid').addEventListener('click', openDialog);

function openDialog() {
  document.getElementById('fileid').click();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #upload #file #button
ADD COMMENT
Topic
Name
6+2 =