result is displaying null instead of input in javascript code example
Example: hhow to check input is null in html using js
function required(inputtx)
{
if (inputtx.value.length == 0)
{
alert("message");
return false;
}
return true;
}