2017年2月6日

iframe onkeydown 不响应 解决方法

摘要: iframe onkeydown 不响应 解决方法 阅读全文

posted @ 2017-02-06 17:48 欧文凌志 阅读(1058) 评论(0) 推荐(0)

2016年11月30日

浏览器 任务栏 消息 闪烁

摘要: <html><head><script type="text/javascript"> function test() { setTimeout(function () { this.focus(); this.blur(); alert(1); }, 2000); }</script></head 阅读全文

posted @ 2016-11-30 09:54 欧文凌志 阅读(1397) 评论(1) 推荐(0)

2016年11月15日

C# mongo 获取 刚插入的 id

摘要: Collection.InsertOne(obj); (刚插入的) id=obj._id 阅读全文

posted @ 2016-11-15 17:10 欧文凌志 阅读(928) 评论(0) 推荐(0)

2016年11月14日

C# 后台 异步

摘要: Task task = new Task(() => { Method(para1,para2); }); task.Start(); 阅读全文

posted @ 2016-11-14 14:52 欧文凌志 阅读(364) 评论(0) 推荐(0)

2016年9月2日

Jquery JS 获取 Checkbox 是否选中

摘要: 正确方法: var isReturned = document.getElementById('cboxReturned').checked; 错误方法: var isReturned = $("#cboxReturned").attr("checked"); 阅读全文

posted @ 2016-09-02 10:56 欧文凌志 阅读(552) 评论(0) 推荐(0)

2016年8月4日

js 实现在新的tab页打开url

摘要: 当window.open(url,"_blank"),无效时,可用如下方法。 function openwin(url) { var a = document.createElement("a"); a.setAttribute("href", url); a.setAttribute("targe 阅读全文

posted @ 2016-08-04 16:24 欧文凌志 阅读(5359) 评论(0) 推荐(0)

mongo 查询 某 字段 not null

摘要: db.getCollection('WorkflowInstance').find({'CurrentApproverList':{$ne:null}}) 阅读全文

posted @ 2016-08-04 15:03 欧文凌志 阅读(11281) 评论(0) 推荐(0)

MongoDB的C# Driver 2.2 查询Mongo内嵌List字段

摘要: var filterBuilder = Builders<WorkflowInstance>.Filter; var filter = filterBuilder.Eq("WorkflowCode", workflowCode) & filterBuilder.Eq("InstanceStatus" 阅读全文

posted @ 2016-08-04 10:13 欧文凌志 阅读(2068) 评论(1) 推荐(0)

2016年6月15日

异步加载JS、CSS

摘要: function AsyncLoad(V_tag,V_src) { if (V_tag == "script") { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src 阅读全文

posted @ 2016-06-15 11:50 欧文凌志 阅读(420) 评论(1) 推荐(0)

导航