HTML常用API(位置信息、音频视频)_html document.body api-CSDN博客

网站介绍:文章浏览阅读157次。感谢:链接(讲解的很详细)位置信息1、代码:<script type="text/javascript"> navigator.geolocation.getCurrentPosition(function (position) { document.innerHTML += "经度" + position.coords.longitude+'<br/>..._html document.body api