I'm working on a project management application that lists all of a project's tasks. Each task is displayed as a DIV. I want the user to be able to select a specific task by clicking on its DIV, which would then highlight that DIV by adding a CSS class and display some information about the task in a separate panel.
I can use an AjaxFallbackLink to get the information to display, but how can I add a CSS class when the DIV is clicked, and then remove the CSS class when another DIV is clicked?