# getElement by Content?

**URL:** <https://forum.kirupa.com/t/getelement-by-content/190111>\
**Category:** web dev\
**Created:** [June 8, 2006, 6:20pm UTC](https://forum.kirupa.com/t/getelement-by-content/190111 "2006-06-08T18:20:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superjohn](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@superjohn](https://forum.kirupa.com/u/superjohn)\
**Post date:** [June 8, 2006, 6:20pm UTC](https://forum.kirupa.com/t/getelement-by-content/190111/1 "2006-06-08T18:20:23Z")

</div>

Hi there, i’ve been trying to change the content of some 'span’elements through the innerHtml method, but since the structure is so complex it is a pain in the \*\*\* to find out what the path is. Is there a way to find them, according to their current concent?
