Nested if Statements : If : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » If »

 

Nested if Statements



<html>
<head>
  <title>Nested if Statements</title>
</head>
<body>
  <script type="text/javascript">
  <!--
    var needsInfo;
    var needsMoreInfo;
   
    needsInfo = true;
    needsMoreInfo = true;
   
    if (needsInfo) {
      document.writeln("info true");
    if(needsMoreInfo){
      document.write("<br>needs info true");
    }
    document.writeln("<br>Ordering is easy using our on-line service.");
    }
  // -->
  </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