首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

如何样能用一个普通button实现文件读入的功能!要调起选择地址的对话框

2012-01-08 
怎么样能用一个普通button实现文件读入的功能!要调起选择地址的对话框怎么样能用一个普通button实现文件读

怎么样能用一个普通button实现文件读入的功能!要调起选择地址的对话框
怎么样能用一个普通button实现文件读入的功能!在button的click事件中用要调起选择地址的对话框!!!
谢谢各位!我有急用!最好有代码!

[解决办法]
只有IE可以,其他浏览器不行
<iframe name= "iframe1 " src= "1.htm "> </iframe>
<script language=javascript defer>
function show()
{
iframe1.document.getElementById( "file1 ").click()
}
</script>
<input name= "haha " type= "button " onclick=show()>

热点排行