Hi,

How do you escape characters in a selector? I can't find any info in
the docs e.g.

<span class="someValue:anotherValue">I am a span</span>

alert($$('.someValue:anotherValue')[0].get('tag'));
alert($$('.someValue\:anotherValue')[0].get('tag'));
alert($$('.someValue\\:anotherValue')[0].get('tag'));
alert($$('.someValue\3A anotherValue')[0].get('tag'));
alert($$('.someValue\\3A anotherValue')[0].get('tag'));

I can't seem to get it to work with any of the above formats and it is
a valid selection. Any help would be appreciated.

Thanks

Reply via email to