<html>
<head><title>asdf</title>
</head>
<body>
<form name=formen>  
<input type="file" name="picpath" id="picpath" style="display:none" onChange="document.getElementById('filetext').value=this.value;">  
<input type="text" name=filetext readonly>
<input type=button name=btn onclick="document.formen.picpath.click()" value="Browse">
</form>
</body>
</html>

解决方案 »

  1.   

    onclick="document.getElementById('picpath').click()"
      

  2.   

    1楼的,这个方法不行的。
    你试试看就知道了,firefox和IE里的file类型的input的机制好像不一样
      

  3.   

    http://www.planabc.net/article.asp?id=85
      

  4.   

    5楼的,你给的地址上说firefox里没有办法实现,你要说的是这个意思么?