I remembered that there was a way to find an element by its identifier (or "id" for short), so I did a quick google of "findelementbyid" (which is what I remembered it being called) and got a whole bunch of results. The second one on the results list even included the excerpt, "FindElementById has yet to fail me" which sounded very reassuring.
However, it did fail me. Hmph!
However, in the reference section, there was a mention of "getelementbyid".
Why did I trust the Internet?
I've just done a comparison, and a google of "findelementbyid" returns only 556 results (YMMV) which, in retrospect is awfully small.
Sure enough, a google of "getelementbyid" returns "about 5,410,000" results. (Again, YMMV.)
The moral of the story: exercise care when using the Internet as an authority.
An Atlas for the End of the World
1 hour ago