title: Jquery if then statement for css value
body: <p>I want to check whether a <code>div</code> with a CSS <code>class=&quot;x&quot;</code> has <code>height=&quot;auto&quot;</code></p>
  <p>If yes I want (with a jQuery script) the <code>css-class=&quot;a&quot;</code> removed from all elements with the <code>css-class=&quot;y&quot;</code></p>
  <p>If not the script does not have to do anything. Thanks</p>