Find all DOM elements which ID contains a string, but I want to use vanillaJS. I know that in here there is a solution using jQuery, but in this case, I want to use only pure javascript.
I know that with this :
document.querySelectorAll("[id='parteOfanID']")
We can get all elements which as the attribute id with the value "parteOfanID".
Thank you