Enabling a button

I have a button with a disabled style. It is set to disabled as default. When the user clicks on an item in a repeater the button needs to be enabled. This is not working. I need the button to be disabled by default and only enabled when the user clicks on a repeater item. Anyone have ideas why this isn’t working?

Thanks!