摘要:
选择元素: $("#id").parent(); //父元素$("#id").parents(); //全部父节点$("#id").parents("p"); //返回是P的父元素$("#id").children(); //返回全部子节点$("#id").children("p"); //返回是p 阅读全文
posted @ 2018-10-25 17:59
开水泡饭的博客
阅读(296)
评论(0)
推荐(0)