I am trying to check below condition,
var param= document.getElementById("txtbox").value;
if(param!== null || param.length!==0 || param !=="" || param!==undefined)
{//do something}
but even if param is null it is entering in the if block. Does anyone have an idea about this?