First select the elements you want to loop over: var elements = document.querySelectorAll(‘#something a’); Then loop over them making sure […]
First select the elements you want to loop over: var elements = document.querySelectorAll(‘#something a’); Then loop over them making sure […]