In this hint, I’ll elaborate How to
Show / hide HTML tag. in case , the current user belongs to a specific Group in SharePoint.
Consider you have a SharePoint Page that holds two Script Editor Web Part or more, and each Script Editor Web Part has its independent DIV as shown below.
Now, you need to hide the left (DIV) with ‘
< div id="ID1"> Qassas div ID1< /div >‘ from all users who belong to a specific SharePoint Group in your SharePoint site.