I am trying to edit in css a disabled submit button. This button is disabled if the checkbox is not checked and enable if the checkbox is checked. I can not edit both disabled and enable button. I can not figure it out how should i do.
Check this fiddle you will understand better. input#btnsubmit[disabled] is not applyed.
if(this.check).addClass('butonsubmit');