On Aug 7, 9:36 pm, gray8110 <gray8...@gmail.com> wrote:
> $('li has(a[href$=".xls"])').addClass('excel');

Try: $("li:has(...)")

Note the ":" before "has"
http://docs.jquery.com/Selectors/has#selector

:)

Reply via email to