See:

http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F



On Oct 16, 2:02 pm, andrazk <[EMAIL PROTECTED]> wrote:
> Hi!
>
> We're working with a java workframe that creates element ID-s
> separated with dots and thus we have problems using the jQuery
> selectors.
>
> Example:
> <input type="text" id="object.member.property" value="test"/>
>
> <script type="text/javascript">
>   t = $('#object.member.property').value;
>   alert(t);
> </script>
>
> Of course, this script won't display properly the value "test".
> I've tried the $('#object\.member\.property') also but still obtained
> no result.
>
> Since the dot is a CSS selector, what can be done about this?
>
> Andraz

Reply via email to