Change and Maintain CSS Style of Button State

Posted by TDDG on Stack Overflow See other posts from Stack Overflow or by TDDG
Published on 2010-04-14T22:18:51Z Indexed on 2010/04/14 22:23 UTC
Read the original article Hit count: 239

Filed under:
|
|

I have 5 list items that act like tabs for a page stored in a Masterpage in a asp.net application. When the user selects a list item, I would like to redirect the the page, and change the class for that list item (tab) to show the active tab the user is on. What is the best way to dynamically change the class of the list item based on the user interaction with them, and maintain the state?

© Stack Overflow or respective owner

Related posts about css

Related posts about button