Naresh Babu Gopavaram

Naresh Babu Gopavaram

  • 1.5k
  • 248
  • 249.4k

How to make a li or 'a' '/a' as active when i click

Sep 23 2011 6:15 AM
hi i have 3 links in Masterpage like  

<ul>
      <li class="class1"><a href="WorkSpace.aspx" title="WorkSpace">WorkSpace</a></li>
      <li id="WorkQueue"><a href="WorkQueue.aspx" title="WorkQueue">Work Queue</a></li>
      <li><a href="#" title="Reports">Reports</a></li>
    </ul>


suppose when i click on any of the link that should be active (chenge bg color) .

any one help me 

Answers (1)