Several elements in a page have the id=myid
. I want to find the element having the value text = "findme". But how?
<div id="myid">some</div>
<div id="myid">findme</div>
document.querySelectorAll("div[id='myid']"); //TODO how to match value=findme?
Only native JS, not jquery.