Alister West

home is where your code is ...

Use JQuery to add another input field.

TODO: look at brads auto add / remove at http://modernballots.com/create/

<div id="file-uploads">
    <div class="file"><input type="text" /></div>
</div>
<div><a>Add another</a></div>



<script>
    // click to add a file option.
    // add a remove link to all new links.
    $(function(){ 

        $('.more a').click(function(){
            var $input = '<div class="file"><input type="text" />';
            var $a = $('<a>remove</a>').click(function(){ $(this).parent().remove(); });
            $input.append('a');
            $input.appendTo('#file-uploads');
        });

    });
</script>
By Alister West