引用js<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=百度申请的ak"></script>//html5获取经纬度 function GetLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition);
一: // 浏览文件夹(指定文件路径) function BrowseFolder() { try { var Message = "Please select the folder path."; //选择框提示信息 var Shell = new ActiveXObject("Shell.Application"); var Folder = Shell.BrowseForFolder(0, Message, 0x0040, 0x11); //起始目录为:我的电
<script> window.onload = function(){ var oForm = document.getElementById('loginForm'); var oUser = document.getElementById('user'); var oPswd = document.getElementById('pswd'); var oRemember = document.getElementById('remember');