JavaScript se a entrada numer

if(document.getElementById("question").value.length == 0)
{
    alert("empty")
}
Scary Salamander