1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// on HEAD
<link rel="stylesheet" type="text/css" href="/css/Stickman.MultiUpload.css" />
<script type="text/javascript" src="/js/multiupload/mootools.js"></script>
<script type="text/javascript" src="/js/multiupload/Stickman.MultiUpload.js"></script>
<script type="text/javascript">
                    window.addEvent('domready', function(){
                    // Use defaults: no limit, use default element name suffix, don't remove path from file name
                    new MultiUpload( $( 'main_form' ).default);
                    });
</script>
 
// on BODY
 
<div>
    <form id="main_form" action="/edi_files/upload" method="post" onsubmit="return false" enctype="multipart/form-data">
        <input type="file" name="default">
        <br clear="all"/>
        <input type="submit" value="Subir" />
    </form>
</div>