会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sphinxhero
博客园
首页
新随笔
联系
管理
订阅
2015年6月27日
Jquery仿模态对话框插件Remodal
摘要: 1、CSS中引用remodal.css、remodal-default-theme.css2、JS中引用remodal.js3、点我 Remodal Responsive, lightweight, fast, synchronized with CSS anim...
阅读全文
posted @ 2015-06-27 15:43 sphinxhero
阅读(1200)
评论(0)
推荐(0)
2015年6月23日
Jquery操作Json数组
摘要: var t = [{ 'a': 1}, { 'a': 2 }, { 'a': 3 }, { 'a':4 }]; t.push({ 'a': 5 }); //添加 t[0].a = 11; //修改 t.splice(1,1); //删除 for...
阅读全文
posted @ 2015-06-23 21:49 sphinxhero
阅读(1139)
评论(0)
推荐(0)
2015年6月2日
ASP.NET MVC 实现跨域请求的两种形式
摘要: 一、使用jsonp请求 1 $.ajax({ 2 type: "GET", 3 url: "http://10.174.1.1/Home/Test?callback=?", 4 data: { id: "1" }...
阅读全文
posted @ 2015-06-02 13:51 sphinxhero
阅读(871)
评论(0)
推荐(0)
2015年3月8日
多条件Expression<Func<T, bool>>
摘要: EF中需要传入多条件的Expression>时可以这样用:(u) => (u.Receiver == name && u.isRead == true)
阅读全文
posted @ 2015-03-08 19:29 sphinxhero
阅读(425)
评论(0)
推荐(0)
2015年3月7日
常见Jquery问题
摘要: 1、js获取不到动态创建的元素:$("").click(function(){ .... }); // 这样不行必须改成这样:$(document).on("click", ".button", function () {....return false;//阻止事件冒泡}); 2、js...
阅读全文
posted @ 2015-03-07 21:25 sphinxhero
阅读(135)
评论(0)
推荐(0)
2015年3月3日
IE浏览器兼容性问题
摘要: 1、input中文字垂直居中问题 解决方案:在IE中需要将height和line-height设置成一样,但是如果height过大,在chorme浏览器中光标跟input的height一样高。需要给input的height设定一个较小的高度,然后用padding去填充。(完美解决) 使用示例: ...
阅读全文
posted @ 2015-03-03 08:19 sphinxhero
阅读(384)
评论(0)
推荐(0)
公告