~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/printer/frameset/frameset8/js_pp_timer.html

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
<HEAD>
 
3
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
 
4
<TITLE>JS Test 1</TITLE>
 
5
<script>
 
6
  var gCounter = 0;
 
7
 
 
8
  function doLoad()
 
9
  {
 
10
    setTimeout("counter()", 1000);
 
11
  }
 
12
 
 
13
  function counter()
 
14
  {
 
15
    document.getElementById("status").value = gCounter++;
 
16
    setTimeout("counter()", 1000);
 
17
  }
 
18
</script>
 
19
</HEAD>
 
20
<BODY onload="doLoad()">
 
21
 
 
22
<input type=text id=status>
 
23
 
 
24
</BODY>
 
25
</HTML>