I have initialized my variable as the following:
var name = null;
If I check it's value like this it doesnt do anything:
if(name == null) {
alert("Name = null");
}
But if I change the if-clause to that, it works:
if(name == "null") {
alert("Name = null");
}
Happy for every help.