@Thierry - Thanks, that's what I currently have, it's a shame mootools
doesn't support this. Having google'd around I found the following two
links that confirm it isn't possible in mootools, wish I'd found them
first :o)

http://www.zachleat.com/web/2007/07/10/javascript-frameworks-and-jsf/
http://n2.nabble.com/selector-problem-using-data-nnn-structure-td1344576.html

Hopefully this will be implemented in a future release as there are
some excellent uses for it.

Cheers

On Sep 2, 5:20 pm, Thierry bela nanga <[email protected]> wrote:
> I'd use filter in this case
> $$('span').filter(function (el) {
>
>   //
>
>
>
> })
> On Wed, Sep 2, 2009 at 4:30 PM, atwork8 <[email protected]> wrote:
>
> > 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
>
> --http://tbela99.blogspot.com/
>
> fax : (+33) 08 26 51 94 51

Reply via email to