原创 Echars 羅錶盤
//調用 setInterval(function (){//計時器 每10秒刷新一次數據;data.va,data.vb,data.vc 是三個儀表的數據集合 $.post("${ctx}/eelect/mete
原创 js 中獲取手機端的物理返回事件(親測可用)
if(window.history && window.history.pushState) { $(window).on('popstate', function() {
原创 javaScript 鏈接打印機,打印小票
<%@ page contentType="text/html;charset=UTF-8"%> <%@ include file="/webpage/include/taglib.jsp"%> <!--
原创 Ztree樹形結構結合tabs以及各種事件
前端頁面引入js文件即可; 頁面標籤 <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief" style="font-size: 14px;marg
原创 Java文本內容轉語音
package 語音; import java.io.IOException; import com.jacob.activeX.ActiveXComponent; import com.jacob.co
原创 Echars,動態數據實時刷新
//調用 setInterval(function (){ $.post("${ctx}/eelect/meter/eqmeter", {},
原创 DIV居中
<div style="width:400px;height:300px;position:absolute;left:40%;top:30%;background: #eee">
原创 jqprint 帶CSS樣式打印
$("#mytable").jqprint({ debug: false, importCSS: false , //將此屬性改爲false;直接在styl