You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/1-document/04-searching-elements-dom/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ Ci sono altri metodi per cercare nodi tramite tag, classi ecc.
174
174
175
175
Oggi sono più che altro storia, essendo `querySelector` più potente e più breve da scrivere.
176
176
177
-
Qui li studiamo per completezza, mentre possono essere ancora trovati nei vecchi script.
177
+
Qui li studiamo per completezza, poiché possono essere ancora trovati nei vecchi script.
178
178
179
179
-`elem.getElementsByTagName(tag)` cerca gli elementi con il tag specificato e ritorna una loro collection. Il parametro `tag` può anche essere `*`, che equivale a "qualsiasi tag"
180
180
-`elem.getElementsByClassName(className)` ritorna gli elementi con la data classe.
0 commit comments