That can't be done, because $('#foo.bar') already has a well defined meaning
that comes from CSS.
It selects the element whose ID is 'foo', but only if the element also has
the classname 'bar'. If the element doesn't have that classname, the
selector returns an empty set.
So, for example:
$('#foo.bar').hide(); // Hide the #foo element if it has class .bar
-Mike
> From: SteveG
>
> I know there is a workaround using the \\ syntax
>
> however, is this needed?
>
> It would seem to me the $("#prefix.Name") would be supported
> without the need to hack it up with a $("#prefix\\.Name")
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---