I have some div in my code as mentioned below. Through Jquery I want to hide div having class="redCategory redCap vertical". My Jquery code to hide
div is $(".redCap").hide();
but after page load div is not getting hidden. What should be Jquery? I want to hide div during page load.
<div class="redLinkContainer">
<span class="accessibleText" aria-level="1" role="heading"></span>
<div class="redCategory redHome adjacent"><a> href="https://example.com/">1</a></div>
<div class="redCategory redContact adjacent"><a> href="https://example.com/">2</a>></div>
<div class="redCategory Things adjacent"><a> href="https://example.com/">3</a></div>
<div class="redCategory redCap vertical">
<a class="red CategoryTitle redCategoryHeader" href="https://example.com/">4</a>
</div>
<div class="redCategory ManyThings adjacent"><a> href="https://example.com/">5</a></div>
</div>