Let's say I have a CSS style that looks like this:
input.validation-passed {border: 1px solid #00CC00; color : #000;}
The JavaScript validation framework I am using injects every input tag with a class="validation-passed". While this works fine for elements like <input type='text' />
, I do not want it to be applied to <input type='button' />
. How can I achieve this?