Yesterday, I stumbled upon a stumbling block in JS , and it turned out to be impossible to write against the wind.
Actually there is a page (not mine), in my case with two identical id .. sadness .. But still with the first id - javascript works. Is it possible in some way with the help of js / jq to change the id itself to the first necessary element? and then with the help of JS to address both to it, on a new id , and to that, the second element, with the same id ?
I know, many people don’t like the question, want 2m elements to make a new class
function(){document.getElementById('my_class').className += 'hide_my';}