I need help with a functionality that will hide or show the following div based on the value of <%= ItemCount%>
. If the number is less than five, I want the div to be hidden. On the other hand, if it is above 5, then the div should be visible. Any assistance would be greatly appreciated.
<div class="slideControl">
<a id="slidesPrev" onclick="return false" href="#">
<img src="/_assets/images/Arrowleft.png"
</a>
<%= ItemCount%> Total Products
<a id="slidesNext" onclick="return false" href="#">
<img src="/_assets/images/ArrowRight.png"
</a>
</div>