User1632102518 posted
I have the following menu items in Layout.cshtml as below.
<ul> <li><a href="/Hadoop/Jobs" style=";z-index:1">Jobs</a></li>
<li><a href="/Hadoop" style=";z-index:1">Hadoop Source</a></li>
<li><a href="/Hadoop/mapDataDictionary" style=";z-index:2">Map Data</a></li>
</ul>
What I would like to do is, show/hide "Map data" menu item based on the output from a Jquery function CheckUser(thats checks whether the user is authenticated or not ).