Seems there is a jQuery plugin to escape special characters.

http://plugins.jquery.com/files/jquery.escape.js.txt

On Tue, Apr 6, 2010 at 10:30 AM, Jian Fang <[email protected]> wrote:

> You are right, we should escape the @ in the css selector. Will do that.
>
> Thanks,
>
> Jian
>
>
> On Tue, Apr 6, 2010 at 6:19 AM, Jonathan Share <[email protected]>wrote:
>
>> Hi,
>>
>> In my html I have input fields defined as follows (note the @ in the
>> name);
>>
>> <input type="text" class="medium paxFerryNameInput" value=""
>> name="Profile/Customer/Telephone/@PhoneNumber" maxlength="16"
>> id="phone1" tabindex="26">
>>
>> that I have modelled as follows;
>>
>> Container(uid: "phone") {
>>                Container(uid: "mobile") {
>>                    Selector(uid: "country", clocator: [name:
>> "Profile/Customer/Telephone/@CountryAccessCode"])
>>                    InputBox(uid: "number", clocator: [name:
>> "Profile/Customer/Telephone/@PhoneNumber"])
>>                }
>> }
>>
>> Using the CSS selectors (as is now the default) firefox freezes,
>> providing the slow script warning dialog stating that the jQuery.js
>> script is spending too much time on line 2663. I assume that the @ in
>> my clocator needs to be escaped before you send it further to jQuery.
>> This isn't a huge problem for me as I have just added a call to
>> disableCSSSelector(), this allows my test to pass for now but it would
>> be nice to be able to upgrade some time in the future.
>>
>> Regards,
>>
>> Jonathan
>>
>> --
>> 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]<tellurium-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/tellurium-users?hl=en.
>>
>>
>

-- 
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.

Reply via email to