<input type="text" id="txtFile" width="40">
<input type="button" id="btnFile" value="浏览..."
onClick="document.all.fileHidden.click();">
<input type="file" id="fileHidden" onChange="return document.all.txtFile.value=document.all.fileHidden.value" runat=server style="visibility:hidden">通过模拟,"美化"表单中的文件域就简单了,呵呵。
评论(0)
暂无评论。