Can you explain why the if condition doesn't work without the eval function:
var myBoolean= document.getElementById("someBoolean").value; //This is a 'false'
alert(Your boolean is True); //This condition always getting executed even though myBoolean is false;
alert("You will never see this alert bcoz boolean is false");
false for conditionals:
Everything else is treated as
'false' is none of the above, so it's