I have a scriptaculous function that I need to change to Jquery.
$$("div.mydiv a").each( function(el) {
Event.observe(el, "mouseover", function() {
$('other').addClassName(el.className+'hover');
});
});
$$("div.mydiv a").each( function(el) {
Event.observe(el, "mouseout", function() {
$('other').removeClassName(el.className+'hover');
});
});
Please, does anyone has Any idea of how to do that ?
Try this:
more info