Thanks - that helped me a lot...
Did not see it in the FAQs before!
On 27 Sep., 23:52, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> To select an element with an id="#foo.bar:filter" in CSS you would use:
>
> #foo\.bar\:filter { /* ... */ }
>
> jQuery uses the same syntax (though make sure you're
try: jQuery('#foo\\.bar\\:filter');
2007/9/27, ravenel <[EMAIL PROTECTED]>:
>
>
> Hello jQuery Coders!
>
> Since it is allowed to use ".", ":" in the id-Tag (http://www.w3.org/
> TR/html4/types.html#h-6.2)
>
> I wonder how I select it while using the jQuery Selector Syntax?
>
> jQuery('#foo.bar:
To select an element with an id="#foo.bar:filter" in CSS you would use:
#foo\.bar\:filter { /* ... */ }
jQuery uses the same syntax (though make sure you're using a newer,
1.2+ version).
When using a "literal" string (that is "string") you will have to
escape the "\"s because of the way Jav
This FAQ should help you.
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F
--
Brandon Aaron
On 9/27/07, ravenel <[EMAIL PROTECTED]> wrote:
>
>
> Hello jQuery Coders!
>
> Since it is allowed to use ".", ":" in the id-Tag (http://w
On Sep 27, 2007, at 11:05 AM, ravenel wrote:
Hello jQuery Coders!
Since it is allowed to use ".", ":" in the id-Tag (http://www.w3.org/
TR/html4/types.html#h-6.2)
I wonder how I select it while using the jQuery Selector Syntax?
jQuery('#foo.bar:filter') doesn't work since it means element
I believe you have to do jQuery('#foo\.bar\:filter') but I am not 100%, but
do remember reading a post about it a while back.
On 9/27/07, ravenel <[EMAIL PROTECTED]> wrote:
>
>
> Hello jQuery Coders!
>
> Since it is allowed to use ".", ":" in the id-Tag (http://www.w3.org/
> TR/html4/types.html#h
6 matches
Mail list logo