I think the attribute syntax feels natural because it compares values too. Anyway, you still have to do something with the dots inside :data(foo.bar), now it doesn't accept them. In Sizzle the dots only collide with the class filter, but I don't know why it doesn't work in jQuery.
On Nov 3, 6:26 pm, Danny <[EMAIL PROTECTED]> wrote: > On Nov 3, 12:07 pm, Danny <[EMAIL PROTECTED]> wrote: > > > Danny (a different Danny than the one who started the thread!) > > Way too many of 'em around! > > Question, why use the data() syntax in the selector instead of the [] > syntax suggested earlier in the thread? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
