Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
iamuzer
· 15y ago · 0 comments
I learned today, by chance, that you can reference an element object directly by its name without having to do a document.getElementById.
Comments
[–]
weixiyen
15y ago
What do you mean by that? Can you provide an example?
[–]
jamesbritt
15y ago
Are names unique, as IDs are (supposed to be)?