$('#element').mouseover(function(){
alert('Hover!');
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of debussy007
Sent: Tuesday, February 12, 2008 3:13 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Determine if mouse is over a spe
Hi debussy007,
see the tutorials section on events bubbling:
http://docs.jquery.com/Tutorials:AJAX_and_Events
example:
$(document).ready(function() {
$('body').click(function(event) {
if ($(event.target).is('h3')) {
$(event.target).toggleClass('highlighted');
}
});
});
On Feb 13
2 matches
Mail list logo