Array.prototype.slice.call(document.links,0).forEach(function(link){link.onmousedown
= null})插件总失效 用这个对付下
分类:
其他好文 时间:
2014-05-10 00:15:19
阅读次数:
250
设置javascript的资源文件默认编码格式 Content Types...
分类:
编程语言 时间:
2014-05-09 22:36:46
阅读次数:
353
#include
#include
#include
#ifndef VIRTUAL
#define VIRTUAL
#endif
#ifndef DELETE
#define DELETE(X) do { free(X);X = NULL; } while(0)
#endif
#define NEW(TYPE,pInstance,SUBTYPE) struct TYPE* pInst...
分类:
编程语言 时间:
2014-05-09 22:29:48
阅读次数:
455
题目如下:
Parentheses Balance
You are given a string consisting of parentheses () and []. A string of this type is said to be correct:
(a)
if it is the empty string
(b)
if A and B are ...
分类:
其他好文 时间:
2014-05-09 20:57:46
阅读次数:
316
org.hibernate.PropertyAccessException: Null
value was assigned to a property JavaBean修改:private Boolean
sex;原因:数据库字段值为NULL,int 类型不能赋值为NULL,只能为0,但有些实际应...
分类:
数据库 时间:
2014-05-09 19:59:18
阅读次数:
318
AJAX的底层实现都是浏览器提供的,所以任何基于api上面的框架或者库,都只是说对于功能的灵活与兼容维护性做出最优的扩展
ajax请求的流程:
1、通过 new XMLHttpRequest 或其它的形式(指IE)生成ajax的对象xhr。
2、通过xhr.open(type, url, async, username, password)的形式建立一个连接。
3、通过se...
分类:
Web程序 时间:
2014-05-09 15:22:17
阅读次数:
454
AJAX的底层实现都是浏览器提供的,所以任何基于api上面的框架或者库,都只是说对于功能的灵活与兼容维护性做出最优的扩展ajax请求的流程:1、通过
new XMLHttpRequest 或其它的形式(指IE)生成ajax的对象xhr。2、通过xhr.open(type, url, async, u...
分类:
Web程序 时间:
2014-05-09 13:11:06
阅读次数:
544
没考虑到的情况有:input: [, expected: false; 语法上也犯了错误:
我定义的stack的泛型为char,泛型不能为primitive datatype,Primitive types such ascharcannot be
used as type parameters i...
分类:
其他好文 时间:
2014-05-09 09:19:01
阅读次数:
252
#include#include#include #include
//使用库函数exit()using namespace std;templateclass Stack{ private: Type*data;
//栈元素数组 int maxSize; /...
分类:
其他好文 时间:
2014-05-09 07:27:40
阅读次数:
294
C风格的强制类型转换(Type Cast)很简单,不管什么类型的转换统统是:TYPE b =
(TYPE)a。C++风格的类型转换提供了4种类型转换操作符来应对不同场合的应用。const_cast,字面上理解就是去const属性。static_cast,命名上理解是静态类型转换。如int转换成cha...
分类:
编程语言 时间:
2014-05-09 05:54:59
阅读次数:
376