no it is not. if its empty i am getting only else part of alert ( alert("please fill") );
.