Pinku

Pinku

  • 1.4k
  • 308
  • 46.7k

How to hide the text or override othe text an anchor element

Jul 24 2019 12:17 AM
<a class="drop-menu-trigger" id="userprofile" tabindex="0" title="User Profile">Welcome, <%=MyPage.MyNeo.SessionData.CBSessionUser.FirstName%>
<i class="fa fa-angle-down" id="headercaret" aria-hidden="true"></i>
</a>
 
i want to hide the 'Welcome,' text for a particular condition and want to show the first name..How can i do it in js file?

Answers (2)