html - jquery get father and his sons node

	$("#test1").parent(); // 父节点
	$("#test1").parents(); // 全部父节点
	$("#test1").prev();  // 上一个兄弟节点

Transfer:
https://www.cnblogs.com/milletHandsome/p/11887833.html

Published 68 original articles · won praise 12 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_35077107/article/details/105329889