Set the variable to different value and then try..

Set the variable to different value

<html>
   <body>
     
      <script type="text/javascript">
         <!--
            var age = 20;
       
            if( age > 15 ){
               document.write("<b>Qualifies for driving</b>");
            }
         //-->
      </script>
     
      <p>Set the variable to different value and then try...</p>
   </body>
</html>

Comments

Popular posts from this blog

java script book in PDF format