The Vanilla JavaScript equivalent of jQuery's .find() method is the .querySelectorAll() method. The function allows us to search through the descendants of these elements in the DOM tree and construct a new jQuery object from the matching elements. So you won't get jQuery elemens as result of the JavaScript alternative, but you will get DOM elements instead.
Source code viewer
// Returns the first element that is matching the specified group of selectors. var container = window.document.querySelector("#id"); // Returns a list (NodeList) of elements matching the specified group of selectors. var matches = window.document.querySelectorAll(".container .class"); // Use forEach to iterate the corresponding elements. matches.forEach(function(element) { // ... }); Programming Language: Javascript