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

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -