1

I m know how to remove disabled with js, but is it possible to user only css? I have 2 css classes. 1 for active buttons and 1 for disabled ones! If css can enable button. I could use just jquery's addClass and removeClass...

p.s. sorry for my super english skill.

riosteyn
  • 27
  • 3

1 Answers1

2

It is not possible to remove any attribute with CSS. CSS cannot change the document tree at all. It can only specify suggestions on the rendering of a document.

Jukka K. Korpela
  • 195,524
  • 37
  • 270
  • 390