3
Friends I have several Divs on my page, each with its ID, but with the same pattern, for example "Checker-001", "Checker-002", and so on... where, I use a JS to change its characteristics, for example
$('#checker-363').removeClass('UmaVelhaClass').addClass('UmaNovaClass');
that is quite simple and useful.
Here is my question: Is it possible to exchange hundreds of Divs at a time? with a single command? for example by changing the "number" by a " * ":
$('#checker-*').removeClass('UmaVelhaClasse').addClass('UmaNovaClasse');
Or I’m bound to make a loop for it?
rapaizzz , thank you so much for being so objective and answer Exactly my question! helped too!!!
– Roberval Sena 山本
Nothing, it’s a pleasure to help
– Rubico
Ahh yes .. detail, I forgot to thank the code for example working! for people who are not even know how to ask the question right, it is part essential !!!!!!!!!!!! It was worth once again!
– Roberval Sena 山本