I did some digging and I can confirm your issue. It's happening in both Safari 4 and Chrome 2 (they both use WebKit). Here's a reduced case: http://ejohn.org/files/bugs/qsa-nth/
It seems to only happen in the case of :nth-child (I haven't been able to duplicate it with other selectors, yet). I'm not 100% sure what we can do, yet since this is an underlying issue with their querySelectorAll implementation. Thanks for bringing it to my attention, though. --John On Tue, Jul 21, 2009 at 11:16 PM, Ambert Ho <amber...@gmail.com> wrote: > > > I'm unable to access the bugtracker so apologies if this is a known > issue. Chrome does not appear to be accepting multiple selectors. > > Current code is: $("td:nth-child(2), td:nth-child(3)").click(function() > {}, and Chrome is not recognizing the second selector. > > Works in Chrome if I change this to: > $("td:nth-child(2)").click(function(){} > $("td:nth-child(3)").click(function(){} > > > If you use firefox to access > http://www.awesomedancemoves.com/jquery_form_test/ > , you can click anything under the first two columns of "product name" > and "company name" and action will be taken. However in Chrome, action > is not taken with a click in the second column due to the selector not > being recognized. > > Using Jquery 1.3.2 and Chrome 2.0.172.37 > > Thanks! > Ambert > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---