Plugin jQuery: jQuery Closest Descendant Plugin

jQuery Closest Descendant Plugin
http://www.jqueryrain.com/?http://tlindig.github.io/jquery-closest-descendant/
https://github.com/tlindig/jquery-closest-descendant/archive/master.zip
https://github.com/tlindig/jquery-closest-descendant
18/05/2014

Nội dung

jQuery Closest Descendant Plugin

Get the first element(s) that matches the selector by testing the element itself and traversing down through its descendants in the DOM tree level by level. It use a breadth first search (BFS), that mean it will going deeper in a subtree only until the first matching descendant was found in the current subtree.


Nguồn: www.jqueryrain.com/2014/05/jquery-closest-descendant-plugin/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận