# JSTotD: Can query methods be called from elements?

**URL:** https://forum.kirupa.com/t/jstotd-can-query-methods-be-called-from-elements/642273
**Category:** web dev
**Created:** [March 31, 2020, 6:36pm UTC](https://forum.kirupa.com/t/jstotd-can-query-methods-be-called-from-elements/642273 "2020-03-31T18:36:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![REB\_412](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reb_412/32/9233_2.png) [@REB\_412](https://forum.kirupa.com/u/REB_412)
#### Post date: [March 31, 2020, 6:36pm UTC](https://forum.kirupa.com/t/jstotd-can-query-methods-be-called-from-elements/642273/1 "2020-03-31T18:36:50Z")

</div>

Re: [Finding Elements in the DOM](http://forum.kirupa.com/t/javascript-tip-of-the-day/641803/57)

Can querySelector and querySelectorAll be applied to specific elements to find specific nodes that are children or must they always reference the “document”?

---

<div class="post-metadata">

### Author: ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)
#### Post date: [June 8, 2020, 11:18pm UTC](https://forum.kirupa.com/t/jstotd-can-query-methods-be-called-from-elements/642273/2 "2020-06-08T23:18:32Z")

</div>

2 posts were merged into an existing topic: [JS Tip of the Day: Finding Elements in the DOM](https://forum.kirupa.com/t/js-tip-of-the-day-finding-elements-in-the-dom/643136)

---

<div class="post-metadata">

### Author: ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)
#### Post date: [June 8, 2020, 11:18pm UTC](https://forum.kirupa.com/t/jstotd-can-query-methods-be-called-from-elements/642273/3 "2020-06-08T23:18:32Z")

</div>


