How to set class active of nav bar of Bootstrap twitter using jQuery?
Posted by rameshpasa on December 28th, 2012 | No Comments
I am trying to set the class of the ‘li’ tag to ‘active’ whenever the user click on any link place inside ‘li’ tag. Code snippet of navbar of bootstrap is show below: <div> <div> <a href=”#”>Title</a> <ul> <li><a href=”Home.aspx”>Home</a></li> <li><a href=”Page1.aspx”>Page1</a></li> <li><a href=”About.aspx”>About Us</a></li> </ul> </div> </div> Now when user click on ‘Page1′, class […]




