jQuery selector syntax gives Firefox warning
Posted
by FreekOne
on Stack Overflow
See other posts from Stack Overflow
or by FreekOne
Published on 2009-12-17T17:03:29Z
Indexed on
2010/03/24
5:33 UTC
Read the original article
Hit count: 377
The following code
stringref = "tab_2";
jQuery('.someclass a:not(.someclass #a_someclass_'+stringref+')').css('color', '#000');
gives me this warning in the FF 3.5.5 error console and I can't figure out why:
Warning: Missing closing ')' in negation pseudo-class '#a_someclass_tab_2'.
Is my syntax failing me or has FF gone bonkers ?
© Stack Overflow or respective owner