I have following asp hyperlink:
<asp:HyperLink ID="a" runat="server" Text="return" NavigateUrl="https://google.com/"></asp:HyperLink>
What i want is that when user switches to another page instead of this text an image should show up.
Is there any way to change text to image using css? or jquery? or is there any .net function that does that?
use the imageurl attribute on asp:hyperlink
Edit: You could give the hyperlink a specific id and target it’s first child which would be the image and use .toggle() to remove it and then add the text you want with .html().
In Jquery:
Think that should work. Sorry for not reading properly before.