博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jQury基础1
阅读量:4581 次
发布时间:2019-06-09

本文共 859 字,大约阅读时间需要 2 分钟。

选择元素

$(window);

$(document);

$("CSS选择器");

$("CSS选择器").eq();

$("CSS选择器").slice();

查询、修改

.html();识别html标签

.css();

.text();纯文本

.attr();

.removeAttr();

.offset().top/.left;

.addClass();

.removeClass();

.toggleClass();

.width();

.height();

.innerWidth();

.innerHeight();

.outerWidth();

.outerHeight();

DOM操作

.append();元素内部之后

.prepend();元素内部之前

.after();元素外部之后

.before();元素外部之前

.replaceWith();

.children();

.parent();

.parents();

.parentUntil();

.siblings();

.next();

.nextAll();

.nextUntil();

.prov();

.provAll();

.provUntil();

.first();

.last();

.find();

.closest();

.eq();

.each();

事件

.click();

.on();

.off();

.one();

动画

.fadeIn();

.fadeOut();

.fadeTo();

.show();

.hide();

.toggle();

.slideDown();

.slideUp();

.slideToggle();

.animate();

.stop();

.delay();

ajax

$.({

type:

url:

dataType:

success:

error:

});

转载于:https://www.cnblogs.com/murenyangqun/p/9834648.html

你可能感兴趣的文章
核心编程答案(第六章)
查看>>
Spring 3.x jar 包详解 与 依赖关系
查看>>
java线程详解二
查看>>
Jzoj4625 树
查看>>
maven项目导入依赖jar包并打包为可运行的jar包
查看>>
leecode第二十三题(合并K个排序链表)
查看>>
关于Eclipse的unsupported major minor version 51.0 错误
查看>>
2014年目标
查看>>
AT指令对串口CDMA短信设备发送短信
查看>>
weblogic启动后 登陆控制台特别慢的问题
查看>>
Spring加载resource时classpath*:与classpath:的区别
查看>>
雅虎股票接口
查看>>
映射“DataAdapter.TableMappings”
查看>>
Vue双向绑定
查看>>
activity生命周期
查看>>
IO流
查看>>
动画学习之Music图形绘制
查看>>
2019 2.15模拟赛
查看>>
扩展欧几里得
查看>>
基于H5 pushState实现无跳转页面刷新
查看>>