posted @ 2015-02-08 23:10
VictorStone
阅读(142)
推荐(0)
摘要:
$.ajax()定义和用法ajax()方法通过HTTP请求加载远程数据。该方法是jQuery底层AJAX实现。简单易用的高层实现见$.get,$.post等。$.ajax()返回其创建的XMLHttpRequest对象。大多数情况下你无需直接操作该函数,除非你需要操作不常用的选项,以获得更多的灵活性...
阅读全文
posted @ 2015-02-05 20:57
VictorStone
阅读(247)
推荐(0)
摘要:
string key = sysVar.CacheKey.CurrentUser;var CurrentUser = _cacheManager.Get(key, ()=>{ ctx.GetCurrentUser();});缓存操作接口的扩展方法: public static class Ca...
阅读全文
posted @ 2015-02-05 13:04
VictorStone
阅读(238)
推荐(0)
摘要:
在iframe子页面获取父页面元素代码如下:$('#objId', parent.document);// 搞定...在父页面 获取iframe子页面的元素代码如下:$("#objid",document.frames('iframename').document) $(document.getEl...
阅读全文
posted @ 2015-02-04 16:57
VictorStone
阅读(12374)
推荐(0)
摘要:
转自:http://www.cnblogs.com/hulang/archive/2011/01/12/1933771.htmljQuery 的选择器可谓之强大无比,这里简单地总结一下常用的元素查找方法$("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只...
阅读全文
posted @ 2015-02-04 16:21
VictorStone
阅读(148)
推荐(0)
摘要:
01、 取文档url参数值 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.se...
阅读全文
posted @ 2015-02-03 21:21
VictorStone
阅读(157)
推荐(0)
摘要:
firefox广告拦截插件:Adblock Plus Adblock Edge Adblock Plus Pop-up Addon如果不能更新,则需要修改HOST:117.18.232.191 addons.cdn.mozilla.net117.18.232.191 mozorg.cdn.mozil...
阅读全文
posted @ 2015-02-01 08:33
VictorStone
阅读(740)
推荐(0)
摘要:
columns: [[ { field: 'KeyContent', title: '关键词' }, { ...
阅读全文
posted @ 2015-01-28 09:16
VictorStone
阅读(1617)
推荐(0)
摘要:
public AdminDbContext() : base("MemberDbContext") { //不使用代理创建导航属性,避免WCF序列化错误 Configuration.ProxyCr...
阅读全文
posted @ 2015-01-26 14:05
VictorStone
阅读(1548)
推荐(0)
摘要:
public virtual void SignIn(s_User user, bool createPersistentCookie) { var now = DateTime.UtcNow.ToLocalTime(); /...
阅读全文
posted @ 2015-01-26 11:43
VictorStone
阅读(202)
推荐(0)