High-Lighting the href tag that was Clicked Last in DataList in .Net
Posted on 2014-04-09
I want to highlight href tag when I click it. As of now I am able to highlight it on mouse over but in order to keep it highlighted what I can do ?
In the below code I am using "categoryID" as href, on mouse over I can make it highlighted but after click how can I keep it highlighted ?
<asp:DataList ID="DlProject1" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
<a href='Project3.aspx?categoryID=<%#Eval("categoryID")%>' class="active">
Looking forward to hearing from you.