Peter Machner: document.write

Beitrag lesen

HELP: WARUM FUNZT DAS SCRIPT BEIM INTERNET EXPLORER 4+5,
ABER NICHT BEIM NAVIGATOR 4.6 - IK WEISS NET MEHR WEITER... peter
<html>
<head>
<title>test</title>
<script language='javascript'>
<!--
function wups()
{
//document.write("test");
document.write("pubs" + document.fups.hups.value + "pubs");
//alert("test");
//alert("pubs" + document.fups.hups.value + "pubs");
}
//-->
</script>
</head>
<body bgcolor="white">
<center>
<form name='fups'>
<input type='hidden' name='hups' value='test'>
<input type='button' value='weg' onclick='wups()'>
</form>
<script language='javascript'>
<!--
document.write("test");
//-->
</script>
</center>
</body>
</html>