1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Whatever you Want your title to be</title>
5 </head>
6 <body>
7 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js">
8 var selectDialogueLink = $('<a href="">Select Files</a>');
9 var fileSelector = $('<input type="file">');
10
11 selectDialogueLink.click(function(){
12 fileSelector.click();
13 return false;
14 });
15 $('body').html(selectDialogue);
16 // This change to the fileSelector variable will make multiple selects true
17 fileSelector = $('<input type="file" multiple=""');
18 </script>
19 </body>
20</html>