Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

all inputs under div

const divElem = document.querySelector("div");
const inputElements = divElem.querySelectorAll("input, select, checkbox, textarea")
console.log(inputElements)
Source by thewebdev.info #
 
PREVIOUS NEXT
Tagged: #inputs #div
ADD COMMENT
Topic
Name
8+4 =