The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

why does this happend when i try to put this random text jav

Go down

why does this happend when i try to put this random text jav Empty why does this happend when i try to put this random text jav

Post by kilo December 16th 2007, 10:27 pm

i put this javascrtip code in my portal but it wont show nothing
what is the problem ???

<script type="text/javascript">
<!--
var text = new Array ();
text[1] = "Random text 1";
text[2] = "Random text 2";
text[3] = "Random text 3";

var i = Math.round(3*Math.random());

document.write(text[i]);

//-->
</script>
kilo
kilo
Forumember

Posts : 126
Reputation : 0
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum