js
文章平均质量分 54
月下、聆听
小码农,厦门地区
展开
-
关于在线weboffice(基于active控件)
首先要有个weboffice.cab文件,解压后里边有个ocx控件是主体js页面Loadweboffice.js配置文件指向var s = "";//var height = parent.document.getElementById("PrjList").scrollHeight;// var height = document.body.clientHeight;// hei...原创 2018-07-31 08:44:29 · 5840 阅读 · 0 评论 -
js的一些方法(获取当前页面路径,元素失去鼠标焦点,键盘点击,键盘码,对字符串的split和replace操作)
设置或获取对象指定的“文件名”或路径。<script>alert(window.location.pathname)</script>设置或获取整个 URL 为字符串。<script>alert(window.location.href); </script>设置或获取 href 属性中跟在问号后面的部分。<script...原创 2018-07-27 17:47:11 · 443 阅读 · 0 评论