·  JavaScript – Syntax – Terms – Display

 

- Info:

  - This tutorial shows how to display data with JavaScript.

  - When you display object in Web Browsers debug console you would be able to expand its members.

  - In Google Chrome debug console is activated like this: Settings – Tools – Developer Tools – Console.

 

- Example:

  - Create D\Temp\JavaScript\Test.html

 

    Test.html

    <script> 

   

      window  .alert("Hello");  //Popup window.

      document.write("Hello");  //Web Page.

      console .log  ("Hello");  //Debug console.

    

    </script>