jeudi 30 septembre 2021

How To Check If Input Tags Elements of an array are empty in Vanella JS? [duplicate]

Imagine this array, which contains input tags from HTML file.

const input = document.querySelectorAll("input"); //Calling the input tags from HTML file as an array 

I want to check everyone of the input if they have empty content or not.




Aucun commentaire:

Enregistrer un commentaire