页面有一个按钮,点击后能够弹出文件选择对话框,求各位大神帮忙!!最好能有代码!
不就是文件选择input嘛
如果你说的事文件上传的话
<form enctype="multipart/form-data" action="" method="post">
<input type="file" id="choosefile" />
<input type="file" id="f" style="display:none;" />
<input type="submit" value="上传文件" id="submitBtn" />
</form>
可参考看看:http://www.cnblogs.com/yuanlong1012/p/5127497.html
http://blog.csdn.net/yaoyaoxingkong/article/details/8563437
http://plugins.krajee.com/file-basic-usage-demo ,功能很强大的文件上传工具.使用前先加上js&css.