152
rated 0 times
[
154]
[
2]
/ answers: 1 / hits: 31200
/ 7 Years ago, tue, october 17, 2017, 12:00:00
I want to hide a div based on the text inside. In the example below I want to hide the ones with Handtekening and the one with Thuis. I prefer to do that with CSS. Is that possible?
The class names of the divs
have to be the same...
<div class=test>
Pakket
</div>
<div class=test>
Handtekening
</div>
<div class=test>
Thuis
</div>
If not possible with CSS, how can it be done with JavaScript?
More From » html