2
Answers

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

Pinku

Pinku

5y
473
1
<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)