Jquery: Exclude a contained element

Posted by Glide on Stack Overflow See other posts from Stack Overflow or by Glide
Published on 2010-05-18T13:09:03Z Indexed on 2010/05/18 13:10 UTC
Read the original article Hit count: 178

Filed under:
|
|

Hello

<div><img src="truc.png" /> Chouette</div>

I'd like to mouseoverize the div but not the img

$('div').mouseover(go_truc);

How can I do that ?

© Stack Overflow or respective owner

Related posts about jquery-selectors

Related posts about exclude