app中Webview实现下载表格

   <script type="text/javascript">
function getUrl(){
var close = confirm("请点击确定下载表格后到相关部门申请");
if (close) {
if (navigator.userAgent.match(/Android/i)) {
window.call.download("http://www.zbgh.org.cn/appUnion/img/yiwaishanghai.docx");
}
}
} </script>
<div class="col-xs-12" style="padding: 0">
<a href="javascript:">
<div class="list" onclick="getUrl();">
&nbsp; &nbsp; <img src="../img/icon-6.png" style="width: 20%;">
&nbsp;&nbsp;<span style="font-size:18px;" >我要申请</span>
<img src="../img/point.png" class="point">
</div>
</a>
</div>
上一篇:Python学习教程(learning Python)--3 Python分支结构和布尔逻辑


下一篇:(四)Linux Shell编程——输入输出重定向