You could:

   1. grab mootools 1.3b2 or
   2. you could joke around a bit to make this regex work with this
   selector:

   Selectors.RegExps.combined =
   
/(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g;


I don't have the correct regex for number 2.

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces
Twitter: fabiomiranda
http://solucione.info


On Tue, Jun 8, 2010 at 12:02 PM, Midhat <[email protected]> wrote:

> Hi
>
> I am trying to use this selector
>
> $('_dropdownname').getElement("option[value='L A F]")
>
> This always return null. However if I use an option with value not
> containing space, the selctor works fine.
>
> So do mootools selectors have anything against spaces. is there any
> workaround?

Reply via email to