Question

I am using Mootools 1.2.4 and IE 9. Mootools class selector does not work in IE 9(the following commands). It cannot find the input elements with class="selector".

js code:

$('indvNameId').getElements('.selector');

html

<input type="text" class="others selector" ..../>
<input ... />

Can anyone confirm this?

Était-ce utile?

La solution

Do not know the reasons but $$ works for me.

it works if I use

$$('.selector')

instead of

$('indvNameId').getElements('.selector');
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top