• 2022-06-04 问题

    以下哪些是JS中document对象的方法 A: getElementById() B: getElementsByTagName() C: getElementsByName() D: getElementsById()

    以下哪些是JS中document对象的方法 A: getElementById() B: getElementsByTagName() C: getElementsByName() D: getElementsById()

  • 2022-06-12 问题

    下面哪些是JavaScript中document的方法? A: getElementById B: getElementsByTagName C: getElementsById D: getElementsByName E: getElementsByClassName

    下面哪些是JavaScript中document的方法? A: getElementById B: getElementsByTagName C: getElementsById D: getElementsByName E: getElementsByClassName

  • 2022-05-28 问题

    为获取页面中多个同名对象,应使用document的( )方法。 A: getElementsByTagName() B: getElementsById() C: getElementsByName() D: getElementById()

    为获取页面中多个同名对象,应使用document的( )方法。 A: getElementsByTagName() B: getElementsById() C: getElementsByName() D: getElementById()

  • 2022-06-07 问题

    关于dom的查找方法,下列选项中说法正确的是?(选择两项) A: getElementByTagName()方法返回带有指定标签名的所有元素,返回的是一个元素 B: getElementsByTagName()方法返回带有指定标签名的所有元素,返回的是元素的集合 C: getElementById()方法返回带有指定 ID 的元素 D: getElementsById() 方法返回带有指定 ID 的元素

    关于dom的查找方法,下列选项中说法正确的是?(选择两项) A: getElementByTagName()方法返回带有指定标签名的所有元素,返回的是一个元素 B: getElementsByTagName()方法返回带有指定标签名的所有元素,返回的是元素的集合 C: getElementById()方法返回带有指定 ID 的元素 D: getElementsById() 方法返回带有指定 ID 的元素

  • 1