Open the folder contents page LAN

<HTML>
<body>
<a href="file://172.16.12.222/资源共享"> <input name = "resource sharing" type = "button" id = "btn1" value = " resource sharing" style = " visibility: hidden "/> </a>

</ body>
<Script type = "text / JavaScript">
the window.onload = function () {
var btn1 = document.getElementById ( 'btn1');
btn1.click (); // execution Click
};
var SENDMSG function = () {
Alert ( 'button is clicked executed');
};
</ Script>
</ HTML>

Guess you like

Origin www.cnblogs.com/HK0427/p/11200606.html