<input type="file" name="file" id="file">
jQuery:
$("#asd").append($('#file').clone(true).attr('id', "nodeinput"+childrenlength));
$("#nodeinput"+childrenlength).attr('name','hiddeninput');
$("#nodeinput"+childrenlength).attr('value',fileType_);
jquery 克隆input
最新推荐文章于 2023-06-16 20:53:39 发布