title: Jquery Selectors And Condition
body: <p>We have a requirement in application that on clicking on all images which do not have a css class of "xyz" we want to call a function. We are trying to write it somehwhat like this:</p>
  
  <pre><code>$('input[type=image] class=xyz').click(function(){//something});
  </code></pre>
  
  <p>It doesn't seem to work. Ideal scenario would be that all images on clicking does some functionality except the one which has CSS as "xyz". </p>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>I am using input, as I use JSF and this command button is being displayed as an input type component with src as image.</strong> </p>
  
  <p>Thanks for your help in advance.
  Cheers</p>