Alex Rivera | Logout

Is there an equivalent to .closest() that searches down the DOM tree instead of up?

Asked 2011-02-28T07:47:59.020
40

Is there an equivalent to .closest() that searches down the DOM tree instead of up?

Edit
Report

1 Answer

8

You can use find() method. And get the first element from resulting set.

answered 2011-02-28T07:53:45.587

Your Answer