Compare int value : If : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » If »

 

Compare int value



<HTML>
<HEAD>
</HEAD>
<BODY>
<SCRIPT language="JavaScript">
<!-- 
    var num1=0;
    var num2=0;
    if(num1==num2) {
        window.alert("True");
    }else {
        window.alert("False");
    }
//-->
</SCRIPT>

</BODY>

</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» If