Slobodan: JavaScript Error

Beitrag lesen

Hallo,

wieso macht Netscape Communicator 4.x und der MS IE 4.x nicht, Probleme bei folgendem Script:

-----------------------------------------------
<script language="JavaScript">
<!--
  var WKInhalt = "";
function PruefeWK()
{
  WKInhalt = "Drei";
}
function PA(BisherigeDaten)
{
  PruefeWK();
  alert(WKInhalt);
  URL = "Eins";
  alert(URL);
  URL = URL + BisherigeDaten;
  alert(URL);
  URL = URL + WKInhalt;
  alert(URL);
}
//-->
</script>
-----------------------------------------------
... und meldet:

JavaScript Error: [unknown origin],
PA is not defined.

Was muß ich machen um Netscape "zu beruhigen" ?

Slobodan