Napr.
<script>
text = new Array("dobrý den", "ahoj", "čau");
x = Math.round(Math.random()*2);
document.writeline(text[x]);
x = Math.round(Math.random()*2);
document.writeline(text[x]);
</script>
Napr.
<script>
text = new Array("dobrý den", "ahoj", "čau");
x = Math.round(Math.random()*2);
document.writeline(text[x]);
x = Math.round(Math.random()*2);
document.writeline(text[x]);
</script>