<html>
<head>
<title>browser</title>
<script type="text/javascript">
<!--
function browser(){
    var t=document.createElement('input');
    t.setAttribute('id','temp_file');
    t.setAttribute('type','file');
    t.style.display='none';
    t.onchange=function(){document.getElementById('fileloc').innerHTML=t.value;document.body.removeChild(t);};
    document.body.appendChild(t);
    t.click();
}
//-->
</script>
</head>
<body>
<div >browser...</a>
</body>
</html>

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2021-11-07
  • 2021-07-29
  • 2021-11-19
  • 2021-12-13
  • 2021-12-19
猜你喜欢
  • 2021-09-29
  • 2021-12-26
  • 2022-03-10
  • 2021-05-25
  • 2022-12-23
  • 2021-06-01
  • 2021-12-05
相关资源
相似解决方案