3
我<input type="file" name="p1" size="100" />
jQuery的添加輸入
請告訴我如何添加<input type="file" name="p2" size="100" />
等使用jquery添加..
感謝
我想 變種I = $( '輸入') .size()+ 1;
$('a.add').click(function() {
$('<input type="file" name"p' + i + 'size="100" />')
.animate({ opacity: "show" }, "slow")
.appendTo('#inputs');
i++;
});