Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function domElementsByName
import { domElementsByName } from "https://deno.land/x/simple_utility@v2.2.1/src/deno_ext/dom.ts";

Find all elements with name attribute.

Examples

Example 1

const dom = domDecode("<input name='foo'>");
const result = domElementsByName(dom, "foo");

Parameters

element: Element
name: string