用IE重起计算机或者关机
<script language="JavaScript">
var Application=new ActiveXObject('Shell.Application.1');
</script>
<button onclick=Application.ShutdownWindows();>关机</button><br>
<button onclick=Application.Suspend();>挂起</button>
转自:http://blog.csdn.net/21aspnet/archive/2007/03/21/1535773.aspx
var Application=new ActiveXObject('Shell.Application.1');
</script>
<button onclick=Application.ShutdownWindows();>关机</button><br>
<button onclick=Application.Suspend();>挂起</button>
转自:http://blog.csdn.net/21aspnet/archive/2007/03/21/1535773.aspx