index of in query selector all code example Example: queryselector data attribute document.querySelectorAll(`[data-name*="funnel-chart-percent"]`)