原创 easyui tooltip提示

<th field:'name',title:'姓名',width:200px,align:'center',formatter:formatterName></th> formatterName(val,row,i

原创 td tooltip提示

html <table id=mytable> <tr> <td onmouseover='getValue(this)'>aaaaa</td> </tr> </table> js <script language="javascr

原创 vue項目打包後本地訪問index.html頁面出現空白

vue打包之後,在本地訪問index.html頁面是一片空白,並且控制檯會報錯。 解決辦法 vue-cli2:首先找到config/index.js文件,將assetPublicPath的路徑改爲“./” vue-cli3:在項目的根目錄

原创 Vue-搭建

第一步:下載安裝Node.js windows系統下cmd測試是否安裝成功 Microsoft Windows [版本 10.0.18362.720] (c) 2019 Microsoft Corporation。保留所有權利。 C:

原创 easyui datagrid列後加標記並根據條件設置禁止選擇

html: <th class="" data-options="field:'name',width:110,align:'center',halign:'center',formatter:formatterName"> 名稱 </

原创 easyui datagrid鼠標移上去顯示彈框有滾動條時顯示不友好的問題

function show(e){ var t = $(".datagrid-body")[1].scrolltop; $(e.parentNode.children[$(e).index() + 1]).css({di

原创 input[type=number]只能輸入整數

html <input type="number" value="" oninput="test(event)"/> js function test(e){ var value = e.target.value; value

原创 回撤查詢

$("#id").bind('keypress',function(event){ if(event.keyCode == '13'){ serch() } })   點贊 收藏

原创 eclipse/myeclipse修改web的url訪問路徑

一:springboot跳轉網頁 eclipse訪問跳轉url的問題。 1:默認用maven創建好項目  項目裏的context root 修改名字後  訪問的url無效依舊不能訪問。 2:解決方案: 雙擊如圖的tomcat 雙擊後效果

原创 js驗證多個用分號隔開的郵箱

html: <body style="text-align: center;">     <h1>電子郵件地址驗證程序</h1>     請輸入電子郵件地址:<input id="email_address" type="text" st

原创 easyui 點擊左邊字典類型右邊顯示詳細信息。

1:html <body> <div class="easyui-layout" style="width:100%;height:100%;"> <div id="p" data-options="region:'west'"

原创 ssm-easyui生成樹 以部門爲例。

tree的實體類 部門實體類   dao層: 1:查詢部門列表 2:判斷是否有子部門 3:部門tree 4:部門詳情   業務邏輯實現: 1:查詢部門列表 2:判斷是否有子部門 3:部門tree 4:遞歸所有部門生成部門

原创 限制input輸入框的字數

如:限制輸入500字 html: <input id="" name="" onkeyup="checkLength(this,1000)"> js:  checkLength=function(dom,maxLength){  var 

原创 easyui進度條

自己的項目遇到的 總結下:假的數據可以實現 具體進度還是要根據項目需求進行計算。 table列表: <th dataoptions="field:'progress',width:120,halign:'center',formatter

原创 導航高亮

eg: <ul id="nav"> <li> <a href="#" id=""> <p>基本信息</p> </a> </li> </ul> js: $(‘#nav’).find('li').click(function){ $(this