bootstrap模态框怎么传递参数
摘要:bootstrap参数传递可以用 data-参数名 ,可以测试一下嘞,这个功能灰常好哟,哦也。。。。
阅读全文
posted @
2015-07-01 18:03
狼来了
阅读(3787)
推荐(0) 编辑
验证(Javascript和正则表达式)
摘要:写了验证(C#和正则表达式),今天又写了个js版的验证。现在贴出来,为了方便自己查阅,同时也希望能给需要的人帮助和一些启发。由于今天才开始接触js,所以可能会有一些错漏,希望大家能批评指正。
阅读全文
posted @
2015-05-30 11:51
狼来了
阅读(510)
推荐(0) 编辑
jQuery.form.js使用
摘要:jQuery.form.js是一个form插件,支持ajax表单提交和ajax文件上传。
阅读全文
posted @
2015-05-21 10:46
狼来了
阅读(1708)
推荐(0) 编辑
jQuery.ajax() 函数详解
摘要:jQuery.ajax()函数用于通过后台HTTP请求加载远程数据。
jQuery.ajax()函数是jQuery封装的AJAX技术实现,通过该函数,我们无需刷新当前页面即可获取远程服务器上的数据。
jQuery.ajax()函数是jQuery的底层AJAX实现。jQuery.get()、 jQuery.post()、load()、 jQuery.getJSON()、 jQuery.getScript()等函数都是该函数的简化形式(都调用该函数,只是参数设置有所不同或有所省略)。
该函数属于全局jQuery对象(也可理解为静态函数)。
阅读全文
posted @
2015-05-10 08:38
狼来了
阅读(733)
推荐(0) 编辑
jQuery调用WCF
摘要:jQuery要调用WCF,首先要创建service.svc服务文件
阅读全文
posted @
2015-04-16 14:02
狼来了
阅读(292)
推荐(0) 编辑
jQuery验证控件jquery.validate.js使用说明+中文API
摘要:官网地址:http://bassistance.de/jquery-plugins/jquery-plugin-validation
jQuery plugin: Validation 使用说明
阅读全文
posted @
2015-04-02 14:36
狼来了
阅读(176)
推荐(0) 编辑
Jquery Ajax WebService
摘要:ajax调用webservice的demo,供参考
阅读全文
posted @
2015-03-31 21:33
狼来了
阅读(221)
推荐(0) 编辑
使用一般处理程序生成 JSON
摘要:在 .NET 3.5 之后,定义在命名空间 System.Runtime.Serialization.Json 中的 DataContractJsonSerializer 可以帮助我们直接将一个对象格式化成 JSON,或者将一个 JSON 反序列化为一个 .NET 中的对象实例
阅读全文
posted @
2015-03-29 20:18
狼来了
阅读(196)
推荐(0) 编辑
query解决touchmove时屏蔽touchend
摘要:注意:需要引入jquery.1.7.js以上的版本
阅读全文
posted @
2015-03-15 08:07
狼来了
阅读(220)
推荐(0) 编辑
移动设备、手机浏览器Javascript滑动事件代码
摘要:分别用javascript和jQuery Mobile测试
测试了三个事件:touchstart、touchmove 和 touchend,并获取了触摸时触点在页面上的坐标,根据坐标进行了左右滑动、上下滑动判断。
阅读全文
posted @
2015-03-14 18:58
狼来了
阅读(836)
推荐(0) 编辑
jQuery动态创建html元素的常用方法汇总
摘要:在使用jQuery进行WEB程序设计的时候非常有用。分享给大家供大家参考。具体方法如下:
一般来说,可以通过以下几种方式动态创建html元素:
1、使用jQuery创建元素的语法
2、把动态内容存放到数组中,再遍历数组动态创建html元素
3、使用模版
阅读全文
posted @
2015-02-17 10:02
狼来了
阅读(10029)
推荐(1) 编辑
javascript——URI的编解码方法
摘要:有效的URI(统一资源标示符)是不能包含某些字符的,如空格,所以需要进行编码,编码方法有:encodeURI()和encodeURIComponent(),对编的码进行解码方法有:decodeURI()和decodeURIComponent()。
阅读全文
posted @
2015-02-13 16:22
狼来了
阅读(259)
推荐(0) 编辑
jQuery.extend 函数详解
摘要:Jquery的扩展方法extend是我们在写插件的过程中常用的方法,该方法有一些重载原型,在此,我们一起去了解了解。
阅读全文
posted @
2015-02-03 16:53
狼来了
阅读(129)
推荐(0) 编辑
Json对象与Json字符串互转(4种转换方式)
摘要:$.parseJSON( jsonstr );JSON.parse(jsonstr);JSON.stringify(jsonobj);eval('(' + jsonstr + ')');
阅读全文
posted @
2015-02-03 16:35
狼来了
阅读(185)
推荐(0) 编辑
jQuery BlockUI Plugin Demo 5(Simple Modal Dialog Example)
摘要:This page demonstrates how to display a simple modal dialog. The button below will invoke blockUI with a custom message. Depending upon the user response (yes or no) an ajax call will be made while keeping the UI blocked.
阅读全文
posted @
2015-02-02 14:30
狼来了
阅读(695)
推荐(0) 编辑
jQuery BlockUI Plugin Demo 4(Element Blocking Examples)
摘要:This page demonstrates how to block selected elements on the page rather than the entire page. The buttons below will block/unblock access to the bordered area beneath them.
阅读全文
posted @
2015-02-02 14:28
狼来了
阅读(231)
推荐(0) 编辑
jQuery BlockUI Plugin Demo 3(Page Blocking Examples)
摘要:This page demonstrates several ways to block the page. Each button below activates blockUI and then makes a remote call to the server.
阅读全文
posted @
2015-02-02 14:15
狼来了
阅读(177)
推荐(0) 编辑
jQuery BlockUI Plugin Demo 2
摘要:The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser[1]. When activated, it will prevent user activity with the page (or part of the page) until it is deactivated. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction.
阅读全文
posted @
2015-02-02 14:13
狼来了
阅读(196)
推荐(0) 编辑
jQuery插件—获取URL参数
摘要:插件地址:http://plugins.jquery.com/project/query-object
阅读全文
posted @
2015-02-02 13:39
狼来了
阅读(714)
推荐(0) 编辑
jQuery BlockUI Plugin Demo
摘要:Most of the demos below will display for 2 seconds
阅读全文
posted @
2015-02-02 13:35
狼来了
阅读(981)
推荐(0) 编辑