I am trying to get event bubbling to work right and have this snippet

        $("div").click(function(event) {
                if (event.target == this) {
                $("#text800birds").css( { background: "#EEEEEE", color:
"#FFFFFF"} );
                }
        });

I would like to change this part

if (event.target == this)

to

if (event.target <> #match)

so that it wont pass the event if the div is #match.

Can you tell me the proper syntax?

Mitch

Reply via email to