topical media & game development

talk show tell print

basic-javascript-01-ch1-examp2.htm / htm

  <body bgcolor="white">
  <p>Paragraph 1</p>
  <script type="text/javascript">
     // Script block 1
     alert("First Script Block");
  <p>Paragraph 2</p>
  <script type="text/javascript">
     // Script block 2
     document.bgColor = "RED";
     alert("Second Script Block");
  <p>Paragraph 3</p>

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.