网页打开局域网文件夹目录
<html>
<body>
<a href="file://172.16.12.222/资源共享"><input name="资源共享" type="button" id="btn1" value="资源共享" style="visibility:hidden" /></a>
</body>
<script type="text/javascript">
window.onload = function(){
var btn1 = document.getElementById('btn1');
btn1.click();//执行执行点击按钮
};
var sendMsg = function(){
alert('按钮已点击执行');
};
</script>
</html>