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
I have a specific class that appears multiple times on the page (i.e. dropdown containers) and I want to open all. As far as I noticed the querySelector is used because only the first occurrence is being triggered. Is there a way to trigger multiple ones? (ie instead of querySelector use querySelectorAll, or always use the second and if I need an item I can specify with :nth-child(X))
The text was updated successfully, but these errors were encountered:
I have a specific class that appears multiple times on the page (i.e. dropdown containers) and I want to open all. As far as I noticed the
querySelector
is used because only the first occurrence is being triggered. Is there a way to trigger multiple ones? (ie instead ofquerySelector
usequerySelectorAll
, or always use the second and if I need an item I can specify with:nth-child(X)
)The text was updated successfully, but these errors were encountered: