سؤال

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?

هل كانت مفيدة؟

المحلول

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

it works if I use

$$('.selector')

instead of

$('indvNameId').getElements('.selector');
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top