double backslashes are the short term fix, but remember for the long term that dots are illegal in ID's and will cause your page to not validate.
see http://www.w3.org/TR/html401/types.html#type-name for reference. -micah On Oct 16, 11:02 am, 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