url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
分类:
Web程序 时间:
2014-06-27 21:41:47
阅读次数:
299
$("input[type=text]") 处可为文本框ID,指定某个文本框输入小写字母变大写
分类:
编程语言 时间:
2014-06-27 21:37:08
阅读次数:
313
12345表单文件选择框样式6789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657581$(function(){2$("input[type=file]...
分类:
其他好文 时间:
2014-06-27 00:23:15
阅读次数:
261
rowStyler: function (index,row) { if (parseInt(row.ksrs) > 0) { return 'color:red'; ...
分类:
Web程序 时间:
2014-06-27 00:16:44
阅读次数:
299
1、获取单个checkbox选中项(三种写法)$("input:checkbox:checked").val()或者$("input:[type='checkbox']:checked").val();或者$("input:[name='ck']:checked").val();2、 获取多个che...
分类:
Web程序 时间:
2014-06-27 00:09:37
阅读次数:
302
类型Internet ExplorerFirefoxChromeOperaSafari版本(×)IE6(×)Firefox 2.0(√)Chrome 1.0.x(×)Opera 9.64(√)Safari 3.1(×)IE7(√)Firefox 3.0(√)Chrome 2.0.x(×)IE8(√)...
分类:
Web程序 时间:
2014-06-26 23:28:42
阅读次数:
268
jsp:useBean中class和type的区别
分类:
Web程序 时间:
2014-06-25 12:26:01
阅读次数:
243
#include #include #include #include using namespace std; typedef struct Node { struct Node *next[10]; int flag; }Node,*Tree; int flag1; void Cre...
分类:
其他好文 时间:
2014-06-25 11:27:43
阅读次数:
154
语法: { (parameters) ->return type in statements} 实例:采用函数实现: let names =["Chris", "Alex", "Ewa", "Barry", "Daniella"]
funcbackwards(s1: String, s2: String) -> Bool {
return s1 > s2
}
var reversed = sort...
分类:
其他好文 时间:
2014-06-25 10:01:29
阅读次数:
224
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml"xml:lang="en">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=..
分类:
其他好文 时间:
2014-06-25 06:38:47
阅读次数:
336