Avatar of Member_2_7969970
Member_2_7969970

asked on 

Hiding a div based on if condition using jquery

Hi,

I am new here. I was working on jsp pages and looking forward to implement a hiding function for a division based on if condition as shown below code:

<c:forEach items="${roleMapList}" var="item">
<c:if test="${item.rolemaproleid == 1 && item.rolemaproleid == 2 && item.rolemaproleid == 3}">
                           
/*  Here I have to implement code (jquery/javascript) to disable a div having an id= "hidingDiv"  */
                           
</c:if>
</c:forEach>

Could you please help me to surve for this day
HTMLJavaScriptjQueryJSP* jstl

Avatar of undefined
Last Comment
Julian Hansen

8/22/2022 - Mon