why do you need to give it a class programmaticaly?

try this:

$("ul a").addClass("highlight");

http://docs.jquery.com/Selectors/descendant#ancestordescendant


_________________________________________________________________
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/

Reply via email to