Thanks,

Actually I know that the complement to $('foo').is() is !$('foo').is
(), but I wanted to try the ".not"

and now it works as expected using this code:


         $("#isDiv> div").not(":contains('Offenburg')")
                        .bind("click", function(e){
                                 alert('Not Offenburg');
                         });

Reply via email to