项目用到handsontable 插件 根据官网 API写的handsontable初始化, 数据展示, ajax请求, 参数封装, Controller参数接受 全局容器 var AllData = {}; var updatelist = []; var delidslist =[]; var insertlist=[]; handsontable 的初始化 function onIniHandsonTable(data) { $('#hot').empty(); var hotElemen
C# 判断文件有没占用 using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace AdminTools { public static class FileTools { [DllImport("kernel32.dll")] private static extern
<script> (function () { var navUA = navigator.userAgent; var defIncludeStr = "iPhone|Android|iPod|BlackBerry|"; var defExcludeStr = ""; var redirectUrl = ""; var metas = document.getElementsByTagName("meta");
$("form").submit(function () { var content = editor.getContentTxt(); var sum = 0; re = /[\u4E00-\u9FA5]/g; //测试中文字符的正则 if (content) { if (re.test(content)) //使用正则判断是否存在中文 { if (content.match(re).length <= 10) { //返回中文的个数 $.dialog.tips("帖