Custom JavaScript | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Custom JavaScript

How do you remove a field from a website contact us page?

31st Aug 2018, 4:13 PM
Troy-lynn Major
Troy-lynn Major - avatar
1 Resposta
+ 1
// to hide the first input field document.querySelector("input").type = "hidden"; // to hide the n+1 th input field document.querySelectorAll("input")[n].type = "hidden";
31st Aug 2018, 4:54 PM
CalviÕ²
CalviÕ² - avatar