Click here to Skip to main content
15,878,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to highlight the selected vertical menu item using jquery,css,javascript in asp.net?
Posted
Updated 2-Nov-14 22:50pm
v2

1 solution

You can do one thing. Assign the Menu items id & on click of each of the add a class active with the css to it.
Please check the fiddle I have added for this. Fiddle[^]
Hope this would help.
But if you use Bootstrap or Kendo, then you need not bother for this. Then handle the active css using a smalljavascript code in the layout only.
Thanks.
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900