javascript - Mootools getElements("input[type=radio]") returns Object not Array -


can shed light why getelements("input[type=radio]") or getelements("input[name=radioname]") return object rather array specified in docs?

in case, not returning objects, key value index string ("0", "1"...), last value of key "length" , value of int n.

any ideas?

which documentation referring to?

according : http://mootools.net/docs/core/element/element#element:getelements, return array.

and way describe object, looks array me.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -