<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title></head><body><script> function downLoad(){ window.open("http://ip/apkVersion/Setup.exe"); }</script><a href="#" onClick="downLoad()">點擊下載</a></body></html>注:可是這種方式存在跨域問題,網頁和包須要在同一個服務器上