![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
文章平均质量分 72
github_34514750
这个作者很懒,什么都没留下…
展开
-
jQuery-Ajax-2
http://blog.csdn.net/github_34514750/article/details/512957281.序列化元素1.serialize() 前边讲解.get()和 .get()和.post()在表单元素少时还可以,详见 http://blog.csdn.net/github_34514750/article/details/51295728 但是当表单元素复杂时,工作量原创 2016-05-02 13:04:20 · 230 阅读 · 0 评论 -
jQuery技巧
1.禁止页面的右键菜单$(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; });});2.新窗口打开页面$(document).ready(function() { //Example 1: Every link will open i原创 2016-05-02 16:34:49 · 283 阅读 · 0 评论 -
jQuery-Ajax
1.安装web环境1.首先在nodejs中,执行npm install -g http-server,安装server 2.在工程目录下运行http-server -p 80 3. 在浏览器中访问127.0.0.12.jQuery对Ajax进行了封装jQuery对Ajax进行了封装 1.在jQuery中$.ajax()方法属于最底层的方法 2.第二层是load()、$.get()、$原创 2016-05-02 11:42:31 · 438 阅读 · 0 评论 -
jquery-事件-on源码
谈一下Jquery中的bind(),live(),delegate(),on()的区别?1.bind().bind()直接绑定在相应的DOM元素上,可以解决跨浏览器的问题。 但是对于动态添加的属于匹配到的元素,不会被触发事件的,需要多次绑定,影响效率。$("#niu").bind('click',function(){ alert("hello niuniu");});2.live()liv原创 2017-04-03 14:08:34 · 2565 阅读 · 0 评论