摘要: /****************************************解决JS浮点数(小数)计算加减乘除的BUG Start****************************************/ /** ** 加法函数,用来得到精确的加法结果 ** 说明:javascript 阅读全文
posted @ 2018-01-24 17:10 大鹅先生 阅读(260) 评论(0) 推荐(0) 编辑
摘要: js图片预览功能 阅读全文
posted @ 2017-12-05 10:18 大鹅先生 阅读(3719) 评论(0) 推荐(0) 编辑
摘要: mvc4 net4.0 1、引用附件的DLL文件 2、两个函数即可 点击下载附件 阅读全文
posted @ 2017-11-10 16:36 大鹅先生 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 1、引用附件中的两个DLL 2、创建类 3、调用方法 4、点击下载附件 阅读全文
posted @ 2017-11-10 16:22 大鹅先生 阅读(870) 评论(0) 推荐(0) 编辑
摘要: http://www.layui.com/ http://element-cn.eleme.io/#/zh-CN/component/installation 阅读全文
posted @ 2017-11-10 16:12 大鹅先生 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 取参数值的方法有很多,个人记录一个方便好用的 //查询参数(参数名)function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = decodeURI(window.loc 阅读全文
posted @ 2017-09-21 09:28 大鹅先生 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 原文地址 http://www.cnblogs.com/lflyq/p/6065160.html sp_configure 'show advanced options', 1;GORECONFIGURE WITH OVERRIDE;;GOsp_configure 'Ole Automation P 阅读全文
posted @ 2017-07-31 10:45 大鹅先生 阅读(1462) 评论(0) 推荐(0) 编辑
摘要: using System;using IWshRuntimeLibrary;using System.IO;namespace UavSystem.Common{ public class ShortcutCreator { //需要引入IWshRuntimeLibrary,搜索Windows Sc 阅读全文
posted @ 2017-07-27 08:32 大鹅先生 阅读(2457) 评论(0) 推荐(0) 编辑
摘要: $(document).on( "click", ".weui_cell", function (event) {alert(); }); JS代码是这样的,html代码是动态追加进去的,click事件在苹果手机没作用,在安卓和pc端事件完全正常 经过一番搜索,解决方法也很奇葩,只需在html代码中 阅读全文
posted @ 2017-07-07 14:16 大鹅先生 阅读(2982) 评论(2) 推荐(0) 编辑
摘要: 记得C# File类中是没有rename这个方法 所以网上很多都用的是move moveTo copy+delete等这些方法 其实以上的方法 虽然可以实现功能 但看起来总觉得很蛋疼 今天百度 突然发现了一个正宗的解决方案 仔细回想 vb.NET中有My.Computer.FileSystem.Re 阅读全文
posted @ 2017-07-02 14:18 大鹅先生 阅读(5101) 评论(0) 推荐(0) 编辑