Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quickthrower2
· 3y ago · 0 comments
Wot! That is insane. But what if the id you want is a value in a string?
Comments
[–]
madeofpalk
3y ago
window[myElementsId]
[–]
quickthrower2
OP
3y ago
That didn’t work in chrome console for me