input type file multipal add

dynamic add input type file.
var incr = 1;
jQuery('input[type="file"]').live('change', function () {
        incr++;
        $('input[type=file]:last').after('<input type="file" name="file' + incr + '" />');
    });​

DEMO
input type file multipal add input type file multipal add Reviewed by Bhaumik Patel on 9:43 PM Rating: 5