Closed Bug 282201 Opened 20 years ago Closed 20 years ago

calling functions in afunction works only once, by the second call : finction not defined

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 114461

People

(Reporter: tbehncke, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

<html>
<head>
<title>Stundennachweis</title>
  <META NAME="author" CONTENT="Connectivity GmbH">
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
  <META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">
  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<script language="JavaScript1.1">
<!--

function  wrln(textln) {
   document.write(textln);
}
function wr (text) {
  document.writeln(text);
}
function Stunden () {

  wr("nr1");
  wrln("nr2");

}

// -->

	</script>
</head>

<body text="#000000" bgcolor="#ffffff" link="white" alink="white" vlink="white"
onload="Stunden()";>
</body>
</html>

Reproducible: Always

Steps to Reproduce:
1. Load the html code in details with opera.
2. load the html code in details with mozilla.


Actual Results:  
output: nr1
and an error reported by javascript console wrln not defined.

Expected Results:  
output: nr1nr2

*** This bug has been marked as a duplicate of 114461 ***
Severity: blocker → normal
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.