[wd_asp elements=’search’ ratio=’100%’ id=1]

Select ids that increment by 1 each time

4th March 2017

CSS

Css - Codehaven

This will hide all ids that have the word ‘themessage’ in them.
The normal way below is great but id you have 100 of them, this is a waste when you can explain this in a shorter way.

#themessage1, #themessage2, #themessage3 {
display: none;
}

Like this…..

*[id^='themessage']{
display: none;
}