首页
IT
登录
6mi
u
盘
搜
搜 索
IT
jQuery常用命令
jQuery常用命令
xiaoxiao
2021-04-14
83
//上一个兄弟节点
$.prev();
//下一个兄弟节点
$.next();
//父节点
$.parent();
//所有子节点
$.children();
//在html尾部追加
$.append(
'...'
);
//在节点前添加html,相当于追加一个兄弟节点
$.before(
'...'
);
//动画效果:$(selector).animate(styles,speed,easing,callback)
$.animate({ width:
'100px'
, height:
'toggle'
},
500
,
'swing/linear'
);
转载请注明原文地址: https://ju.6miu.com/read-670456.html
技术
最新回复
(
0
)