Embedding a JavaScript Function : JavaScript in HTML : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » JavaScript in HTML »

 

Embedding a JavaScript Function




<html>
<head>
  <title>JavaScript Unleashed</title>
  <script type="text/javascript">
  <!--
    function displayMessage() {
      document.write("JavaScript functions<br>");
   
    }
  // -->
  </script>
</head>
<body>
  <script type="text/javascript">
  <!--
    document.write("Calling a JavaScript function...<p>");
    displayMessage();
    document.write("</p>Done. ");
  // -->
  </script>
</body>
</html>


           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» JavaScript in HTML