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++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - malformed header from script index.py Bad header -