I am trying to use:
$(\'mydiv\').delegate(\'hover\', function() {
$(\'seconddiv\').show();
}, function() {
//For some reason jQuery won\'t ru
I know the OP wanted a delegate solution (so was I when I bumped into this question...)
But after further investigation I found out its possible to achieve the same without js/jquery code at all
All you need is a bit of CSS
.someContainer .seconddiv{
display : none;
}
.someContainer:hover .seconddiv{
display : block;
}
INMO it a much more efficient/ligthwheigth solution