Hallo^3,
Ist es möglich im HTML-Code eine JavaScript Funktion ohne onClick oder ohne Link (also ohne irgendein Ereignis) aufzurufen.
In der Hoffnung, dich richtig verstanden zu haben:
<html>
<head>
<title>Test</title>
<script type="text/javascript">
<!--
function DeineFunktion(text) {
var text;
document.write(text);
}
// -->
</script>
</head>
<body>
<p>Heute ist
<script type="text/javascript">
<!-- Begin
DeineFunktion("Sonntag");
// End -->
</script>
</p>
</body>
</html>
Obiges Beispiel fügt nach "Heute ist" das Wort "Sonntag" ein. Ist es das, was du willst?
mfg Siechfred
--
Opinions are like assholes: everybody has one.
ss:| zu:| ls:# fo:| de:[ va:| ch:? n4:& rl:? br:& js:| ie:% fl:( mo:}
Opinions are like assholes: everybody has one.
ss:| zu:| ls:# fo:| de:[ va:| ch:? n4:& rl:? br:& js:| ie:% fl:( mo:}