html页面a元素如果加上href=javasrcipt:void(0)会导致ajax接收不到后台返回值。
例如:
加载更多
如果这个时候,你恰好需要点击“加载更多”执行ajax请求,那么很不幸的告知您,您的ajax请求,不会执行success后的代码,也就是说:
$('.chatmsg_load_more').live("click",
function(){
curren...
分类:
Web程序 时间:
2014-11-15 17:08:06
阅读次数:
247
如果下一个状态有必败,那么此时状态一定是必胜,否则此时状态一定是必败
状压DP
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int dp[1<<20];
int n;
int dfs(int state)
{...
分类:
其他好文 时间:
2014-11-14 22:50:05
阅读次数:
172
转载自:http://blog.163.com/wenchangqing_live/blog/static/173722309201211299817278/asp.net mvc3局部页面使用方法详细说明:1.模板页:@RenderBody()占位符在模板页中加入@RenderBody()占位符,...
分类:
Web程序 时间:
2014-11-14 19:30:36
阅读次数:
193
clojure实现生存游戏 ======== 游戏规则: > The game of life is a cellular automaton devised by mathematician John Conway. > The ‘board‘ consists of both live (#) and dead ( ) cells. Each cell inter...
分类:
其他好文 时间:
2014-11-14 18:10:06
阅读次数:
148
Fedora 21的Beta版本已经提供下载,Fedora 21 Beta也带来了一些新的特性,那么如何创建一个Fedora 21 Live USB呢?方法有很多种,今天只介绍一种。
需要的工具
装有Windows 7或者Windows 8的电脑4GB的U盘Rawrite32软件(下载)Fedora 21镜像(下载)
创建Fedora 21 Live USB
1.打...
1:如果给type=file文件添加change事件,如果点击同一张图片,则只会触发一次onchange事件,因为change事件是根据value值定的,value不变无法触发此事件。live: function( types, data, fn ) { jQuery( this.context.....
分类:
Web程序 时间:
2014-11-13 18:51:04
阅读次数:
195
基础软件 腾讯电脑管家 搜狗输入法 office2013 日常软件 Chrome 浏览器 QQ 聊天 印象笔记 百度云管家 Adobe Reader - PDF阅读器 filezilla FTP工具 windows live writer - 书写博客园的博客 ArcGIS系列软件 ArcGIS f...
分类:
其他好文 时间:
2014-11-13 10:42:03
阅读次数:
104
做了一个简单的示例,目的是记录环境配置以及这套框架的结构流程。
1.配置环境
默认nodejs已安装。
安装以下模块:express(nodejs框架),grunt(javascript task runner),grunt-contrib-watch(grunt live load插件),grunt-express-server(grunt启动express服务端插件)。
命令行中进入程...
分类:
Web程序 时间:
2014-11-13 00:38:03
阅读次数:
212
【超详细教程】使用Windows Live Writer 2012和Office Word 2013 发布文章到博客园全面总结去年就知道有这个功能,不过没去深究总结过,最近有写网络博客的欲望了,于是又重新拾起这玩意儿。具体到底是用Windows Live Writer 2012还是用Word 201...
Lucene是一个高性能的java全文检索工具包,它使用的是倒排文件索引结构。该结构及相应的生成算法如下: 0)设有两篇文章1和2 文章1的内容为:Tom lives in Guangzhou,I live in Guangzhou too. 文章2的内容为:He once lived i...
分类:
Web程序 时间:
2014-11-11 20:28:44
阅读次数:
289