[jQuery] documentation on how to select elements

[jQuery] documentation on how to select elements

Hi!
I am looking to simplify this:
$("div.wichtig").mouseover(function() {$("div.wichtig a").addClass
("highlight");}).mouseout(function() {$("div.wichtig a").removeClass
("highlight");});
I already tried this:
$("div.wichtig").mouseover(function() {$("this a").addClass
("highlight");}).mouseout(function() {$("this a").removeClass
("highlight");});
and this:
$("div.wichtig").mouseover(function() {$(this."a").addClass
("highlight");}).mouseout(function() {$(this."a").removeClass
("highlight");});
But that didn't work.. I couldn't find any information on how I can
select all links (a) inside the layer (<div class="wichtig"></div>)
without using $("div.wichtig a")..
Using only $("a") selects all links from the entire document.
As you can see I am looking for a way to highlight all layer's links
when you move your mouse over the layer. In this way you can find
them more easily. :-)
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/