<div class="form-item" id="file-demo-wrapper">
<label for="file-demo">请选择文件:www.jb51.net </label>
<input type="file" name="files[file-demo]" class="form-file" id="file-demo" size="40" />
</div>
$("#file-demo").remove();
//http://www.jb51.net
$("<input type=\"file\" name=\"files[file-demo]\" class=\"form-file\" id=\"file-demo\" size=\"40\" />").appendTo("#file-demo-wrapper");
时间: 2024-10-03 02:18:57