码迷,mamicode.com
首页 >  
搜索关键字:type    ( 51964个结果
JQuery中$.ajax()方法参数详解
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
分类:Web程序   时间:2014-06-27 21:41:47    阅读次数:299
JavaScript实现在页面上的文本框中输入小写字母自动变为大写字母
$("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
jquery easyui datagrid设置行样式 不可删除某行
rowStyler: function (index,row) { if (parseInt(row.ksrs) > 0) { return 'color:red'; ...
分类:Web程序   时间:2014-06-27 00:16:44    阅读次数:299
Jquery的常用使用方法
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
IE6—在链接click事件的响应函数中发送jsonp请求不生效
1 $("#link").click(function(){ 2 $.ajax({ 3 type: 'GET', 4 dataType: 'jsonp', 5 url: 'http://test.local.com/getdetail', 6 data:{id:1}, 7 s...
分类:Web程序   时间:2014-06-25 13:06:57    阅读次数:235
jsp:useBean中type和class的区别
jsp:useBean中class和type的区别
分类:Web程序   时间:2014-06-25 12:26:01    阅读次数:243
hdu1671Phone List(字典树)
#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
Swift闭包(Closure)
语法: { (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
Ajax
<!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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!