![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
dw_bao
这个作者很懒,什么都没留下…
展开
-
json和jsonp比较
前言: 说到AJAX就会不可避免的面临两个问题,第一个是AJAX以何种格式来交换数据?第二个是跨域的需求如何解决?这两个问题目前都有不同的解决方案,比如数据可以用自定义字符串或者用XML来描述,跨域可以通过服务器端代理来解决。但到目前为止最被推崇或者说首选的方案还是用JSON来传数据,靠JSONP来跨域。而这就是本文将要讲述的内容。 JSON和J转载 2016-02-19 09:49:30 · 182 阅读 · 0 评论 -
Essential jQuery Plugin Patterns
I occasionally write about implementing design patterns in JavaScript. They’re an excellent way of building upon proven approaches to solving common development problems, and I think there’s a lot o转载 2016-02-19 09:51:22 · 366 阅读 · 0 评论 -
How to check and uncheck a checkbox with jQuery
Example formOur example form looks like this:There's checkbox with name "foo" and then three buttons. The first calls a functionto show us if the checkbox is checked or not, and the seco转载 2016-02-19 10:47:24 · 196 阅读 · 0 评论