We have a requirement in the application that when we click on all images that do not have the css "xyz" class, we want to call the function. We are trying to write it something like this:
$('input[type=image] class=xyz').click(function(){
It does not seem to work. The ideal scenario would be that all the images when clicked perform some functionality, except that which has CSS as "xyz".
What am I doing wrong?
I use input as I use JSF and this command button is displayed as a component of input type with src as image.
Thanks for your help in advance. Greetings
source
share