Answers for "if input value is null do something"

1

if input value is null do something

if(document.getElementById("question").value.length == 0)
{
    alert("empty")
}
Posted by: Guest on April-04-2020

Code answers related to "if input value is null do something"

Code answers related to "Javascript"

Browse Popular Code Answers by Language