Found the answer here, http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F
You should escape the "." or other jQuery reserved characters. For example, use "dateOfBirth.\\month" in your case. Let us know if this works. Thanks, Jian On Jun 10, 8:53 am, Jian Fang <[email protected]> wrote: > Yes, ".month" will be interpreted as a class by jQuery syntax. We need to do > some research > to see if there is anyway to work around this problem. > > enableSelectorCache is for the whole DslContext class just like > enableJQuerySelector(). > Be aware that it is experimental. In Tellurium 0.7.0, this feature will be > changed to cache UI module > instead of caching individual selectors. You might want to wait for 0.7.0 > for this new > feature. But you are welcome to turn that flag on to see the performance > difference since you do not > need to change anything but turn on that flag. > > Thanks, > > Jian > > On Wed, Jun 10, 2009 at 8:21 AM, dominicm <[email protected]>wrote: > > > > > Hi, > > > Just converting the last of my tests to use jQuery and have found that > > jquery cannot fine IDs with a ".", e.g. "dateOfBirth.month". XPath has > > no problem with IDs of this type and if I use name instead it works. > > > Also, what is the best way to enable the jQuery selector cache? Should > > I just run enableSelectorCache for each UI module, or is it a global > > setting? > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" 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/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
