Hi I want to hide many elements. Do I need to hide each individually or can I use FOR?
If so, how to do it?
I’ve got this code:
for (I=0; I <11; I++){
$('div#r'+I).hide();
}
But I don’t know what exacly write inside FOR and this one is probably wrong written.
you can hide all the divs starting with a specific id with
but I would recommend giving them a class which makes it easier
then