api.Document.getElementsByName

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 1 on 2008-12-11

In Chrome Android version 18 on 2012-06-27

In Edge version 12 on 2015-07-29 Note: Before Edge 79, this method returns an HTMLCollection, not a NodeList.

In Firefox version 58 on 2018-01-23 Note: Only supported for HTMLDocument, not all Document objects.

In Firefox for Android version 58 on 2018-01-22 Note: Only supported for HTMLDocument, not all Document objects.

In Internet Explorer version 5 on 1999-03-18 Note: Returns an HTMLCollection, not a NodeList

In Quest Browser version 5.0 on undefined

In Opera version 5 on 2000-12-06

In Opera Android version 10.1 on 2010-11-09

In Safari version 4 on 2009-06-08 Note: Only supported for HTMLDocument, not all Document objects.

In Safari on iOS version 3.2 on 2010-04-03 Note: Only supported for HTMLDocument, not all Document objects.

In Samsung Internet version 1.0 on 2013-04-27

In WebView Android version 4.4 on 2013-12-09

In WebView on iOS version 3.2 on 2010-04-03 Note: Only supported for HTMLDocument, not all Document objects.