$('#add_more').click(function() { $(this).before($("<div/>", {id: 'filediv',style:''}).fadeIn(' slow').append( $("<input/>", {name: 'file[]', type: 'file', id: 'file',class:"btn btn-warning btn-big"}), $("<br/><br/>") )); });
Python Developer | Blogger