I've been searching this site and googling everywhere and can't find an answer so chances are that I'm out of luck and not possible to do...
Anyway, I'm working on a old site that adds elements with IDs. Those elements can be present more than one on the same page... and yes, I know that is bad practice, but that is the way I got it and can't change it so I have to work with I have.
So my question is if it's possible to add a number to the ID in the html page, that I can access, to make it so that those IDs be something like name_123, being that the number would change for every new element added into the page?
I suposse I can change the IDs to class but I would still need a way to have an unique identifier...
Any help pointing me in the right direction? Or any other sugestion?
Thank you.