摘要: 获取过滤点 <!DOCTYPE html><html> <head> <title>过滤节点</title> <meta charset="UTF-8"> <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.min.js" 阅读全文
posted @ 2018-07-23 16:00 HL() 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 获取子节点 <!DOCTYPE html><html> <head> <title>获取子节点</title> <meta charset="UTF-8"> <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.min.js 阅读全文
posted @ 2018-07-23 15:53 HL() 阅读(14712) 评论(0) 推荐(0) 编辑
摘要: 获取兄弟节点 <!DOCTYPE html><html> <head> <title>选取所有兄弟节点</title> <meta charset="UTF-8"> <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.mi 阅读全文
posted @ 2018-07-23 15:47 HL() 阅读(2548) 评论(0) 推荐(0) 编辑
摘要: 获取父节点 通过获取父节点,还可以获取父节点的父节点。 有3个常用方法: <!DOCTYPE html><html> <head> <title>获取父节点</title> <meta charset="UTF-8"> <script src="https://ajax.aspnetcdn.com/ 阅读全文
posted @ 2018-07-23 15:25 HL() 阅读(361) 评论(0) 推荐(0) 编辑