Clearing and adding Classes

Hi,

I have a datalist and I want to swap out the classes on a selected item. I tried using inSender.addClass("XXX") but it sets the class on the parent of the item. Not on the item its self. Anyone got an example of how to set the class on a selected item on a data list?

Comments

Sign In or Register to comment.