1.过滤
jQuery 教程
jQuery 遍历 - 过滤
jQuery first() 方法
first() 方法返回被选元素的首个元素。
jQuery last() 方法
last() 方法返回被选元素的最后一个元素。
jQuery eq() 方法
eq() 方法返回被选元素中带有指定索引号的元素。
jQuery filter() 方法
filter() 方法允许您规定一个标准。不匹配这个标准的元素会被从集合中删除,匹配的元素会被返回。
jQuery not() 方法
not() 方法返回不匹配标准的所有元素。
2. wrapInner() 方法
3.slow、normal、fast
jQuery 效果 - 动画
slow、normal、fast和jQuery Fading 方法
jQuery 效果 - 淡入淡出
jQuery fadeIn() 方法
jQuery fadeIn() 用于淡入已隐藏的元素。
jQuery fadeOut() 方法
jQuery fadeOut() 方法用于淡出可见元素。
jQuery fadeToggle() 方法
jQuery fadeToggle() 方法可以在 fadeIn() 与 fadeOut() 方法之间进行切换。
jQuery fadeTo() 方法
jQuery fadeTo() 方法允许渐变为给定的不透明度(值介于 0 与 1 之间)。
当我们需要所有线程都执行到某一处,才进行后面的的代码执行我们可以使用?
4.getLocalHost()方法
java获取本机IP
如果是在windows环境: 使用InetAddress.getLocalHost()方法即可.
package com.yzh70707.zifuliu;
import java.net.InetAddress;
/**
* @author: XYT
* @create-date: 2022/7/7 22:56
*/
public class Test11 {
public static void main(String[] args) throws Exception {
InetAddress addr = InetAddress.getLocalHost();
System.out.println("Local HostAddress:"+addr.getHostAddress());
String hostname = addr.getHostName();
System.out.println("Local host name: "+hostname);
}
}