lundi 22 décembre 2014

Javascript if condition with "==" doesn't work

I am having very simple code:



if (submittedFormAlready==0){
alert(submittedFormAlready);
loadForm();
}


During debugging I can see that submittedFormAlready is having value "1" why then is the if body executed?


Aucun commentaire:

Enregistrer un commentaire